logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 94196c4b6c92da621b45db6332f594d59af52471
parent: 1176505fa4d58677ca05e7a1c27ee459d86275aa
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Mon, 14 Nov 2016 15:49:06 +0100

[enh] show traceback of search errors

Diffstat:

Msearx/webapp.py3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/searx/webapp.py b/searx/webapp.py @@ -410,7 +410,8 @@ def index(): # search = Search(search_query) # without plugins search = SearchWithPlugins(search_query, request) result_container = search.search() - except: + except Exception: + logger.exception('search error') return render( 'index.html', )