summaryrefslogtreecommitdiff
path: root/searx/search/processors
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2025-09-25 08:24:02 +0200
committerGitHub <noreply@github.com>2025-09-25 08:24:02 +0200
commit7322b07df682e880adffa97e10a3a07676eda522 (patch)
tree182b629c79ef3de689010eb283ebc24e1dceebb5 /searx/search/processors
parent4f4587650cc707a70ebd364c857173141a429ca1 (diff)
[fix] ProcessorMap: fix error log, not enough arguments for format string (#5241)
Issue was introduced by PR-5204 [1] reported issue:: logger.error("init method of engine %s failed (%s).", eng_proc.engine.name) TypeError: not enough arguments for format string [1] https://github.com/searxng/searxng/pull/5204 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/search/processors')
-rw-r--r--searx/search/processors/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search/processors/__init__.py b/searx/search/processors/__init__.py
index 5e896c711..1c248c64e 100644
--- a/searx/search/processors/__init__.py
+++ b/searx/search/processors/__init__.py
@@ -84,7 +84,7 @@ class ProcessorMap(dict[str, EngineProcessor]):
self[eng_proc.engine.name] = eng_proc
# logger.debug("registered engine processor: %s", eng_proc.engine.name)
else:
- logger.error("init method of engine %s failed (%s).", eng_proc.engine.name)
+ logger.error("can't register engine processor: %s (init failed)", eng_proc.engine.name)
return eng_proc_ok