1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

Searx to SearXNG change error message

This commit is contained in:
Émilien (perso) 2023-12-31 12:15:32 +00:00 committed by Markus Heiser
parent 27e26b3d65
commit 3535377c9a

View File

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