summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/dev/controllers')
-rw-r--r--application/modules/dev/controllers/ErrorController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/dev/controllers/ErrorController.php b/application/modules/dev/controllers/ErrorController.php
index 189614b..f317494 100644
--- a/application/modules/dev/controllers/ErrorController.php
+++ b/application/modules/dev/controllers/ErrorController.php
@@ -6,7 +6,6 @@ class dev_ErrorController extends Zend_Controller_Action
public function errorAction()
{
$errors = $this->_getParam('error_handler');
-
switch ($errors->type) {
case Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_ROUTE:
case Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_CONTROLLER:
@@ -21,6 +20,7 @@ class dev_ErrorController extends Zend_Controller_Action
// application error
$this->getResponse()->setHttpResponseCode(500);
$this->view->message = 'Application error';
+ print_a($errors);
break;
}