From 9fcb2d183a0b109d1d569d6250058aaba7a8a65e Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 26 Jul 2024 13:51:32 +0300 Subject: [PATCH] proton: Stop using bare except. --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index 47b45a2a..16d2b66c 100755 --- a/proton +++ b/proton @@ -1329,7 +1329,7 @@ class Session: if key not in self.env: self.env[key] = value used_user_settings[key] = value - except: + except Exception: log("************************************************") log("THERE IS AN ERROR IN YOUR user_settings.py FILE:") log("%s" % sys.exc_info()[1])