Merge from FW_3, log this failure
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 4 Aug 2009 14:41:00 +0000 (10:41 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 4 Aug 2009 14:48:07 +0000 (10:48 -0400)
turba/lib/Turba.php

index 990229c..68ba601 100644 (file)
@@ -329,6 +329,7 @@ class Turba {
         foreach ($in as $sourceId => $source) {
             $driver = Turba_Driver::singleton($sourceId);
             if (is_a($driver, 'PEAR_Error')) {
+                Horde::logMessage(sprintf("Could not instantiate the %s source: %s", $sourceId, $driver->getMessage()), __FILE__, __LINE__, PEAR_LOG_ERR);
                 continue;
             }