diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-28 16:50:24 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-28 16:50:24 -0700 |
commit | 76cec8852f6e431b1c87f7d25f8bd4404f1c67e1 (patch) | |
tree | 71138532359586d340ec7784c7543f826bac4abf /python/fatcat_web/templates/release_search.html | |
parent | 1301f6ba6c6ea31bdbcd3619d7f235912726f30a (diff) | |
download | fatcat-76cec8852f6e431b1c87f7d25f8bd4404f1c67e1.tar.gz fatcat-76cec8852f6e431b1c87f7d25f8bd4404f1c67e1.zip |
search: catch ES errors and display better
Diffstat (limited to 'python/fatcat_web/templates/release_search.html')
-rw-r--r-- | python/fatcat_web/templates/release_search.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html index e004efc1..7fb475e3 100644 --- a/python/fatcat_web/templates/release_search.html +++ b/python/fatcat_web/templates/release_search.html @@ -74,6 +74,8 @@ {% endif %} +{% elif es_error %} + {{ search_macros.es_error_msg(es_error) }} {% endif %} </div> |