[enh] show traceback of search errors

This commit is contained in:
Adam Tauber 2016-11-14 15:49:06 +01:00
parent 1176505fa4
commit 94196c4b6c

View File

@ -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',
)