proton: Stop using bare except.

This commit is contained in:
Arkadiusz Hiler 2024-07-26 13:51:32 +03:00
parent 0405ca582b
commit 732a1296a1

2
proton
View file

@ -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])