From: Martin Hujer
Date: Sat, 10 Dec 2011 16:28:28 +0000 (+0100)
Subject: Show exception's message on error page
X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=f218141a93186c8946ed9fdaa61ebe3e6d5ff431;hp=a306ef38e0d2eadf168b44e0ca4810148d2dc126;p=zf2.biz%2Fgalerie.git
Show exception's message on error page
---
diff --git a/module/Application/views/error/404.phtml b/module/Application/views/error/404.phtml
index 10e81bb..1afb866 100644
--- a/module/Application/views/error/404.phtml
+++ b/module/Application/views/error/404.phtml
@@ -7,6 +7,8 @@
Exception information:
+
Message:
+ exception->getMessage() ?>
Stack trace:
exception->getTraceAsString() ?>
diff --git a/module/Application/views/error/index.phtml b/module/Application/views/error/index.phtml
index 5036649..e62262f 100644
--- a/module/Application/views/error/index.phtml
+++ b/module/Application/views/error/index.phtml
@@ -7,6 +7,8 @@
Exception information:
+
Message:
+ exception->getMessage() ?>
Stack trace:
exception->getTraceAsString() ?>