From 67cfbf7d768e4a9d5547b056b7473b353698b0e9 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sun, 24 Apr 2022 12:47:00 +0200 Subject: [PATCH] properly log searx retries --- distbot/plugins/searx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2