Just pass exception to logger (previous call was broken anyway)
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 2 Jun 2010 19:53:54 +0000 (13:53 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 2 Jun 2010 19:54:42 +0000 (13:54 -0600)
turba/lib/Turba.php

index 1219c90..fbf774b 100644 (file)
@@ -569,7 +569,7 @@ class Turba {
             $GLOBALS['turba_shares']->addShare($share);
             $result = $share->save();
          } catch (Horde_Share_Exception $e) {
-            Horde::logMessage($e->getMessage, 'ERR');
+            Horde::logMessage($e, 'ERR');
             throw new Turba_Exception($e);
         }