projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76b5df
)
No idea why, but when this exception is an ErrorException, the autoloading is
author
Jan Schneider
<jan@horde.org>
Tue, 18 Jan 2011 22:55:13 +0000
(23:55 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 18 Jan 2011 23:12:55 +0000
(
00:12
+0100)
not triggered.
framework/Core/lib/Horde/Core/Log/Logger.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Core/Log/Logger.php
b/framework/Core/lib/Horde/Core/Log/Logger.php
index
ae220ff
..
5e88909
100644
(file)
--- a/
framework/Core/lib/Horde/Core/Log/Logger.php
+++ b/
framework/Core/lib/Horde/Core/Log/Logger.php
@@
-132,7
+132,9
@@
class Horde_Core_Log_Logger extends Horde_Log_Logger
/* If logging an exception, log the backtrace too. */
if ($event instanceof Exception) {
- parent::log((string)new Horde_Support_Backtrace($event), $priority);
+ if (class_exists('Horde_Support_Backtrace')) {
+ parent::log((string)new Horde_Support_Backtrace($event), $priority);
+ }
}
/* Restore original locale and timezone. */