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(
|
||||
"%s:\n%s\n## %s:%d : %s",
|
||||
($prefix?$prefix:"An exception occured"),
|
||||
self::get_debug_backtrace_context(1),
|
||||
$exception->getTraceAsString(),
|
||||
$exception->getFile(), $exception->getLine(),
|
||||
$exception->getMessage());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue