From: Ben Klang Date: Tue, 25 May 2010 18:05:09 +0000 (-0400) Subject: Beatnik: Exception has no getDebugInfo() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4869f5a44ad96594f13acde5aa3c7e5a3eb85c69;p=horde.git Beatnik: Exception has no getDebugInfo() --- diff --git a/beatnik/lib/Beatnik.php b/beatnik/lib/Beatnik.php index 191983bff..e46d7acb1 100644 --- a/beatnik/lib/Beatnik.php +++ b/beatnik/lib/Beatnik.php @@ -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'); }