summaryrefslogtreecommitdiff
path: root/templates/exception.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/exception.html.ep')
-rw-r--r--templates/exception.html.ep17
1 files changed, 10 insertions, 7 deletions
diff --git a/templates/exception.html.ep b/templates/exception.html.ep
index 68d19fd..7654c0b 100644
--- a/templates/exception.html.ep
+++ b/templates/exception.html.ep
@@ -1,14 +1,17 @@
-<div class="error">500 Internal Server Error</div>
-<div>
-<pre>
-Beim Bearbeiten der Anfrage ist ein Fehler aufgetreten.
-
-An error occured while processing your request.
+<div class="error">
+<strong>500 Internal Server Error:</strong>
+Beim Bearbeiten der Anfrage ist ein Fehler aufgetreten.<br/>
+<pre>
----------[Debug start]----------
-%= $exception->message
+% if ($exception) {
+%= ref($exception) ? $exception->message : $exception
Stash:
%= dumper $snapshot
+% }
+% else {
+%= stash('message')
+% }
----------[Debug end]----------
</pre>
</div>