on master help sign in
[enh] show traceback of search errors
commit94196c4b6c92da621b45db6332f594d59af52471 authorAdam Tauber <asciimoo@gmail.com> dateMon 14 Nov 2016, 15:49 (10 years ago) parent1176505
1 file changed+2−1
searx/webapp.py+2−1
searx/webapp.py+2−1
@@ -410,7 +410,8 @@ def index():
410410 # search = Search(search_query) # without plugins
411411 search = SearchWithPlugins(search_query, request)
412412 result_container = search.search()
413− except:
413+ except Exception:
414+ logger.exception('search error')
414415 return render(
415416 'index.html',
416417 )