Log: fix logging the right exception backtrace in all cases
This commit is contained in:
parent
8ff2fe663d
commit
f13e364d06
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ class Log {
|
||||||
self :: error(
|
self :: error(
|
||||||
"%s:\n%s\n## %s:%d : %s",
|
"%s:\n%s\n## %s:%d : %s",
|
||||||
($prefix?$prefix:"An exception occured"),
|
($prefix?$prefix:"An exception occured"),
|
||||||
self::get_debug_backtrace_context(1),
|
$exception->getTraceAsString(),
|
||||||
$exception->getFile(), $exception->getLine(),
|
$exception->getFile(), $exception->getLine(),
|
||||||
$exception->getMessage());
|
$exception->getMessage());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue