From 732a1296a16caf2f68f7f52875baa9b5d3b312f8 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 34ad80f0..783ec7a9 100755 --- a/proton +++ b/proton @@ -1317,7 +1317,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])