Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[enh] show traceback of search errors

Adam Tauber94196c4b6c92
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',
)