summaryrefslogtreecommitdiff
path: root/searx/search
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search')
-rw-r--r--searx/search/processors/online.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py
index bca74b746..c39937023 100644
--- a/searx/search/processors/online.py
+++ b/searx/search/processors/online.py
@@ -92,7 +92,8 @@ class OnlineProcessor(EngineProcessor):
hostname = response.url.host
count_error(self.engine_name,
'{} redirects, maximum: {}'.format(len(response.history), soft_max_redirects),
- (status_code, reason, hostname))
+ (status_code, reason, hostname),
+ secondary=True)
return response