mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 02:40:11 +01:00
[enh] show traceback of search errors
This commit is contained in:
parent
1176505fa4
commit
94196c4b6c
@ -410,7 +410,8 @@ def index():
|
|||||||
# search = Search(search_query) # without plugins
|
# search = Search(search_query) # without plugins
|
||||||
search = SearchWithPlugins(search_query, request)
|
search = SearchWithPlugins(search_query, request)
|
||||||
result_container = search.search()
|
result_container = search.search()
|
||||||
except:
|
except Exception:
|
||||||
|
logger.exception('search error')
|
||||||
return render(
|
return render(
|
||||||
'index.html',
|
'index.html',
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user