From 4a6fe006d8ed319a61814cf6bef9457bc7cee96d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 17 Apr 2014 16:21:48 +0000 Subject: [PATCH] Show exception message in title --- application/controllers/ErrorController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/ErrorController.php b/application/controllers/ErrorController.php index 06034ae4e..d2fc5c5ef 100644 --- a/application/controllers/ErrorController.php +++ b/application/controllers/ErrorController.php @@ -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();