summaryrefslogtreecommitdiff
path: root/templates/exception.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-10-29 13:04:01 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-10-29 13:04:01 +0200
commitdaa8cc5a72bd10d732912595bf0ca2ad3bf167c4 (patch)
tree1455129763e0070dc77ec5880b1c32f64b7d2abe /templates/exception.html.ep
parent3f4fc57ba097ce969031ab1a1398d4bb657ca056 (diff)
use T-S-DE-HAFAS for train details
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>