forked from Icycoide/searxng
[mod] processors: show identical error messages on /search and /stats
This commit is contained in:
parent
9b482e8fcc
commit
b1557b5443
4 changed files with 67 additions and 49 deletions
|
@ -22,5 +22,5 @@ class OfflineProcessor(EngineProcessor):
|
|||
# do not record the error
|
||||
logger.exception('engine {0} : invalid input : {1}'.format(self.engine_name, e))
|
||||
except Exception as e:
|
||||
self.handle_exception(result_container, 'unexpected crash', e)
|
||||
self.handle_exception(result_container, e)
|
||||
logger.exception('engine {0} : exception : {1}'.format(self.engine_name, e))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue