summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2019-12-21 21:25:50 +0100
committerAdam Tauber <asciimoo@gmail.com>2019-12-21 21:25:50 +0100
commit34ad3d6b34017523a9502f86b92c17fe389918eb (patch)
tree0833e2bc70af0472009fb38d9e5ba65313ac8af7 /searx/engines
parent52ccaa7acc0eeeb452938a2a8758906430ece077 (diff)
downloadsearxng-34ad3d6b34017523a9502f86b92c17fe389918eb.tar.gz
searxng-34ad3d6b34017523a9502f86b92c17fe389918eb.zip
[enh] display error message if gigablast extra param expired
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/gigablast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py
index 5af593e36..2bb29a9fe 100644
--- a/searx/engines/gigablast.py
+++ b/searx/engines/gigablast.py
@@ -99,7 +99,7 @@ def response(resp):
response_json = loads(resp.text)
except:
parse_extra_param(resp.text)
- return results
+ raise Exception('extra param expired, please reload')
for result in response_json['results']:
# append result