mirror of https://github.com/searxng/searxng.git
Searx to SearXNG change error message
This commit is contained in:
parent
27e26b3d65
commit
3535377c9a
|
@ -192,7 +192,7 @@ class OnlineProcessor(EngineProcessor):
|
||||||
self.logger.exception('Too many requests')
|
self.logger.exception('Too many requests')
|
||||||
except SearxEngineAccessDeniedException as e:
|
except SearxEngineAccessDeniedException as e:
|
||||||
self.handle_exception(result_container, e, suspend=True)
|
self.handle_exception(result_container, e, suspend=True)
|
||||||
self.logger.exception('Searx is blocked')
|
self.logger.exception('SearXNG is blocked')
|
||||||
except Exception as e: # pylint: disable=broad-except
|
except Exception as e: # pylint: disable=broad-except
|
||||||
self.handle_exception(result_container, e)
|
self.handle_exception(result_container, e)
|
||||||
self.logger.exception('exception : {0}'.format(e))
|
self.logger.exception('exception : {0}'.format(e))
|
||||||
|
|
Loading…
Reference in New Issue