diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-11-23 11:18:49 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-11-23 11:33:19 +0100 |
commit | 7c4e4ebd40d342735bf2e207d469aed2ca25cfa9 (patch) | |
tree | 78ebed6511bad68aea9e321e3346c9ae575aa7bf /searx/search/processors/online.py | |
parent | b8f1a329d3674695302bdd81702b5a2947c291d5 (diff) | |
download | searxng-7c4e4ebd40d342735bf2e207d469aed2ca25cfa9.tar.gz searxng-7c4e4ebd40d342735bf2e207d469aed2ca25cfa9.zip |
[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>
Diffstat (limited to 'searx/search/processors/online.py')
-rw-r--r-- | searx/search/processors/online.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py index acc3792f5..778b4ac4d 100644 --- a/searx/search/processors/online.py +++ b/searx/search/processors/online.py @@ -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 |