Show exception message in title
This commit is contained in:
parent
83b26bc595
commit
4a6fe006d8
|
@ -67,7 +67,7 @@ class ErrorController extends ActionController
|
|||
break;
|
||||
default:
|
||||
$this->getResponse()->setHttpResponseCode(500);
|
||||
$this->view->title = 'Server error';
|
||||
$this->view->title = 'Server error: ' . $exception->getMessage();
|
||||
$this->view->message = $exception->getMessage();
|
||||
if ($this->getInvokeArg('displayExceptions') == true) {
|
||||
$this->view->stackTrace = $exception->getTraceAsString();
|
||||
|
|
Loading…
Reference in New Issue