Browse Source

[enh] show traceback of search errors

Adam Tauber 8 years ago
parent
commit
94196c4b6c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      searx/webapp.py

+ 2 - 1
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',
         )