summaryrefslogtreecommitdiff
path: root/templates/exception.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-03-27 21:03:25 +0200
committerDerf Null <derf@finalrewind.org>2023-03-27 21:03:25 +0200
commitc3c7a0c78b30cc7ef2b836cca4eb0a4e110955da (patch)
treeb66a6f0dcb4cb8d0e10ad29c84d79d0f309ee402 /templates/exception.html.ep
parent3acee2b285ac81405c5d2ce8889c77460f6f58a0 (diff)
stationboard: add HAFAS support
Diffstat (limited to 'templates/exception.html.ep')
-rw-r--r--templates/exception.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/exception.html.ep b/templates/exception.html.ep
index 290efc5..ec01ad2 100644
--- a/templates/exception.html.ep
+++ b/templates/exception.html.ep
@@ -21,7 +21,7 @@
%= DateTime->now(time_zone => 'Europe/Berlin')->strftime("%d/%b/%Y:%H:%M:%S %z")
<br/><br/>
Message:
- %= (split(qr{\n}, $exception->message))[0]
+ %= ref($exception) ? (split(qr{\n}, $exception->message))[0] : $exception
</p>
</div>
</div>