From: Thorsten Date: Sun, 24 Apr 2022 10:47:00 +0000 (+0200) Subject: properly log searx retries X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=67cfbf7d768e4a9d5547b056b7473b353698b0e9;p=urlbot-v3.git properly log searx retries --- diff --git a/distbot/plugins/searx.py b/distbot/plugins/searx.py index c7bffa8..a379517 100644 --- a/distbot/plugins/searx.py +++ b/distbot/plugins/searx.py @@ -55,7 +55,7 @@ class Searx(Worker): return searxes @retry(ExceptionToCheck=(ConnectionError, BrokenSearxError, RateLimitingError, json.JSONDecodeError, SSLError), - tries=10, delay=1, backoff=1.1) + tries=10, delay=1, backoff=1.1, logger=logger) def searx(self, text): if not self.search_list: self.search_list = self.fetch_all_searx_engines()