summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-03-21 15:39:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-03-21 15:39:57 +0100
commitf7648c522d2db06c7864caa778ac95de9a6a716e (patch)
treeeabefbf0891ddd02f7efe9cf6f9473e0a2af3543
parent4f30486f0da7bc6d317dea986fe623965cfe992c (diff)
add exception template
-rw-r--r--templates/exception.html.ep14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/exception.html.ep b/templates/exception.html.ep
new file mode 100644
index 0000000..68d19fd
--- /dev/null
+++ b/templates/exception.html.ep
@@ -0,0 +1,14 @@
+<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.
+
+----------[Debug start]----------
+%= $exception->message
+Stash:
+%= dumper $snapshot
+----------[Debug end]----------
+</pre>
+</div>