diff options
author | Adam Tauber <asciimoo@gmail.com> | 2019-12-21 21:25:50 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2019-12-21 21:25:50 +0100 |
commit | 34ad3d6b34017523a9502f86b92c17fe389918eb (patch) | |
tree | 0833e2bc70af0472009fb38d9e5ba65313ac8af7 /searx/engines | |
parent | 52ccaa7acc0eeeb452938a2a8758906430ece077 (diff) | |
download | searxng-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.py | 2 |
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 |