Skip to content

Commit d5ff732

Browse files
author
Ekultek
committed
fix for issue NullArray#1058
1 parent 988160c commit d5ff732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/term/terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def do_api_search(self, requested_api_data, query, tokens):
282282
proxy=proxy,
283283
agent=agent
284284
).search()
285-
except lib.errors.AutoSploitAPIConnectionError as e:
285+
except (lib.errors.AutoSploitAPIConnectionError, Exception) as e:
286286
lib.settings.stop_animation = True
287287
lib.output.error("error searching API: '{}', error message: '{}'".format(api, str(e)))
288288
lib.settings.stop_animation = True

0 commit comments

Comments
 (0)