projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a1c27f
)
Beatnik: Exception has no getDebugInfo()
author
Ben Klang
<ben@alkaloid.net>
Tue, 25 May 2010 18:05:09 +0000
(14:05 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Tue, 25 May 2010 18:05:09 +0000
(14:05 -0400)
beatnik/lib/Beatnik.php
patch
|
blob
|
history
diff --git
a/beatnik/lib/Beatnik.php
b/beatnik/lib/Beatnik.php
index
191983b
..
e46d7ac
100644
(file)
--- 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');
}