mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[log] warning with URL in case of 'raise_for_httperror'
In order to be able to implement error handling, it is necessary to know which URL triggered the exception / the URL has not yet been logged. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
b8f1a329d3
commit
7c4e4ebd40
@@ -137,9 +137,6 @@ class OnlineProcessor(EngineProcessor):
|
||||
self.engine.request(query, params)
|
||||
|
||||
# ignoring empty urls
|
||||
if params['url'] is None:
|
||||
return None
|
||||
|
||||
if not params['url']:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user