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.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>