Log this exception if we are going to ignore it
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 4 Aug 2009 16:11:46 +0000 (12:11 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 4 Aug 2009 16:11:46 +0000 (12:11 -0400)
kronolith/lib/Kronolith.php

index 94a4192..007b5e2 100644 (file)
@@ -752,6 +752,7 @@ class Kronolith
                     try {
                         $categories = $GLOBALS['registry']->call($api . '/listTimeObjectCategories');
                     } catch (Horde_Exception $e) {
+                        Horde::logMessage($e->getMessage(), __FILE__, __LINE__, PEAR_LOG_DEBUG);
                         continue;
                     }