Updated ZF2 submodule to latest master, show exceptions on 404 error
authorEvan Coury <me@evancoury.com>
Thu, 17 Nov 2011 22:48:22 +0000 (15:48 -0700)
committerEvan Coury <me@evancoury.com>
Thu, 17 Nov 2011 22:48:22 +0000 (15:48 -0700)
library/ZendFramework
modules/Application/src/Application/View/Listener.php

index dd8426f..e66618e 160000 (submodule)
@@ -1 +1 @@
-Subproject commit dd8426fc451be263b747b151810780a5f1f21c60
+Subproject commit e66618e7c12867fde9875b8f3d92f230bd1b2727
index 8adf746..f909dcd 100644 (file)
@@ -192,7 +192,9 @@ class Listener implements ListenerAggregate
             case Application::ERROR_CONTROLLER_NOT_FOUND:
             case Application::ERROR_CONTROLLER_INVALID:
                 $vars = array(
-                    'message' => 'Page not found.',
+                    'message'            => 'Page not found.',
+                    'exception'          => $e->getParam('exception'),
+                    'display_exceptions' => $this->displayExceptions(),
                 );
                 $response->setStatusCode(404);
                 break;