diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-09-17 21:11:05 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-09-17 21:11:05 -0700 |
commit | 2812b3a363ec41eb11a35affb128f66b39d40e6d (patch) | |
tree | b9165beea5f0dc259582a4db875aa20cff3e04f0 /python/fatcat_web/templates/400.html | |
parent | 8187720f503967ad68ab07fb25b36f554663e1c3 (diff) | |
download | fatcat-2812b3a363ec41eb11a35affb128f66b39d40e6d.tar.gz fatcat-2812b3a363ec41eb11a35affb128f66b39d40e6d.zip |
web: handle unknown CSL style as a cleaner 400 page
Diffstat (limited to 'python/fatcat_web/templates/400.html')
-rw-r--r-- | python/fatcat_web/templates/400.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/400.html b/python/fatcat_web/templates/400.html index 21f98aad..c0a00652 100644 --- a/python/fatcat_web/templates/400.html +++ b/python/fatcat_web/templates/400.html @@ -12,6 +12,8 @@ <div class="header"></div> {% if err and err.description %} <p>{{ err.description }} + {% elif err %} + <p>{{ err }} {% else %} <p>Wasn't able to handle the request, either due to incorrect or unexpected input. Usually more context should be available; if you hit this page it means |