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.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/exception.html.ep b/templates/exception.html.ep
index 2f20bc6..65ec7ff 100644
--- a/templates/exception.html.ep
+++ b/templates/exception.html.ep
@@ -4,9 +4,14 @@ Beim Bearbeiten der Anfrage ist ein Fehler aufgetreten.<br/>
<pre>
----------[Debug start]----------
+% if ($exception) {
%= $exception->message
Stash:
%= dumper $snapshot
+% }
+% else {
+%= stash('message')
+% }
----------[Debug end]----------
</pre>
</div>