Beatnik: Exception has no getDebugInfo()
authorBen Klang <ben@alkaloid.net>
Tue, 25 May 2010 18:05:09 +0000 (14:05 -0400)
committerBen Klang <ben@alkaloid.net>
Tue, 25 May 2010 18:05:09 +0000 (14:05 -0400)
beatnik/lib/Beatnik.php

index 191983b..e46d7ac 100644 (file)
@@ -566,7 +566,7 @@ class Beatnik {
                 try {
                     $result = $beatnik->driver->saveRecord(array_merge($defaults, $info));
                 } catch (Exception $e) {
-                    $GLOBALS['notification']->push($e->getMessage() . ': ' . $e->getDebugInfo(), 'horde.error');
+                    $GLOBALS['notification']->push($e->getMessage(), 'horde.error');
                 }
                 $GLOBALS['notification']->push(sprintf(_('Record added: %s/%s'), $rectype, $info['hostname']), 'horde.success');
             }