diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-20 22:58:41 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-20 22:58:41 +0100 |
commit | b4ba3c40ebf26cae49e93f2aa6c2f1b6e8bc556e (patch) | |
tree | 7229549717eb2492dfb0afce5e42bd83f4dd231e /templates/errors | |
parent | 3b0c6ef2ea27fa2edbf5044f03e2dd3884ae54f5 (diff) | |
download | troggle-b4ba3c40ebf26cae49e93f2aa6c2f1b6e8bc556e.tar.gz troggle-b4ba3c40ebf26cae49e93f2aa6c2f1b6e8bc556e.tar.bz2 troggle-b4ba3c40ebf26cae49e93f2aa6c2f1b6e8bc556e.zip |
catch unknown scotsman error
Diffstat (limited to 'templates/errors')
-rw-r--r-- | templates/errors/generic.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/errors/generic.html b/templates/errors/generic.html index 66655a1..19bed46 100644 --- a/templates/errors/generic.html +++ b/templates/errors/generic.html @@ -13,7 +13,15 @@ <div class='space'></div> <div class='align-center'> <h3>There has been an error.</h3> - <p>We are terribly sorry but an unknown fault has occurred. </p> + + + + {% if message %} + {{message}} + {% else %} + <p>We are terribly sorry but an unknown fault has occurred. </p> + + {% endif %}) </div> |