mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-09 08:34:04 -04:00
ErrorController: Log the full stacktrace in case of unhandled exceptions
This commit is contained in:
parent
c5c10adf75
commit
0fd5e8e4e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue