From 2812b3a363ec41eb11a35affb128f66b39d40e6d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 17 Sep 2020 21:11:05 -0700 Subject: web: handle unknown CSL style as a cleaner 400 page --- python/fatcat_web/templates/400.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/fatcat_web/templates/400.html') 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 @@
{% if err and err.description %}

{{ err.description }} + {% elif err %} +

{{ err }} {% else %}

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 -- cgit v1.2.3