From 94196c4b6c92da621b45db6332f594d59af52471 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Mon, 14 Nov 2016 15:49:06 +0100 Subject: [PATCH] [enh] show traceback of search errors --- searx/webapp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index d3d5bb51..7d5adaf0 100644 --- 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', )