summaryrefslogtreecommitdiff
path: root/searx/results.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-04-29 12:02:39 +0000
committerGitHub <noreply@github.com>2020-04-29 12:02:39 +0000
commit0f4dbc4eca848d910fb4433e3d1c61fa7fcfa8de (patch)
treed3b37c89b57aca471cddecaea44f8e9218cc487f /searx/results.py
parent678d41d75bcdf14b17fa13f69aa323a9f8716faa (diff)
parent7342806987aec05c50f12e149683609640ba66a0 (diff)
Merge branch 'master' into uwsgi_static
Diffstat (limited to 'searx/results.py')
-rw-r--r--searx/results.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/results.py b/searx/results.py
index 3b1e4bd62..02ab9efb1 100644
--- a/searx/results.py
+++ b/searx/results.py
@@ -345,8 +345,8 @@ class ResultContainer(object):
return 0
return resultnum_sum / len(self._number_of_results)
- def add_unresponsive_engine(self, engine_error):
- self.unresponsive_engines.add(engine_error)
+ def add_unresponsive_engine(self, engine_name, error_type, error_message=None):
+ self.unresponsive_engines.add((engine_name, error_type, error_message))
def add_timing(self, engine_name, engine_time, page_load_time):
self.timings.append({