summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-12-18 14:49:01 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-12-18 14:49:01 +0100
commit6142f1cd6c5d9395c693ef377f1e63341e09817f (patch)
treeb63b1ef2101f69f5aab50c1a6c6ef46d7332f01f /templates
parent5a41f3a97d74da0c2db2dce53fd47dcadc7cd561 (diff)
add custom exception page
Diffstat (limited to 'templates')
-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>