diff --git a/src/Log.php b/src/Log.php index e2eb7ad..1bbb911 100644 --- a/src/Log.php +++ b/src/Log.php @@ -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()); }