From 7addcc6b45630b1fc7f321989025cb950a662bdf Mon Sep 17 00:00:00 2001 From: Bradley Kreider Date: Thu, 13 Feb 2020 15:23:20 -0500 Subject: [PATCH] Don't hide all uncaught exceptions --- binstar_client/scripts/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binstar_client/scripts/cli.py b/binstar_client/scripts/cli.py index 7a5c8bb7..6534a84d 100644 --- a/binstar_client/scripts/cli.py +++ b/binstar_client/scripts/cli.py @@ -45,7 +45,7 @@ def file_or_token(value): def _custom_excepthook(logger, show_traceback=False): def excepthook(exc_type, exc_value, exc_traceback): - if issubclass(exc_type, KeyboardInterrupt) or not issubclass(exc_type, errors.ServerError): + if issubclass(exc_type, KeyboardInterrupt): return if show_traceback: