summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-11-14 15:49:06 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-11-14 15:49:06 +0100
commit94196c4b6c92da621b45db6332f594d59af52471 (patch)
tree9d7bacff976ded304bb928a1dda20e8be994883d
parent1176505fa4d58677ca05e7a1c27ee459d86275aa (diff)
[enh] show traceback of search errors
-rw-r--r--searx/webapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index d3d5bb51e..7d5adaf07 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',
)