ErrorController: Log the full stacktrace in case of unhandled exceptions
This commit is contained in:
parent
c5c10adf75
commit
0fd5e8e4e8
|
@ -81,7 +81,7 @@ class ErrorController extends ActionController
|
|||
break;
|
||||
default:
|
||||
$this->getResponse()->setHttpResponseCode(500);
|
||||
Logger::error($exception);
|
||||
Logger::error("%s\n%s", $exception, $exception->getTraceAsString());
|
||||
break;
|
||||
}
|
||||
$this->view->message = $exception->getMessage();
|
||||
|
|
Loading…
Reference in New Issue