mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-05 22:18:03 +01:00
proton: Stop using bare except.
This commit is contained in:
parent
b2508139c2
commit
9fcb2d183a
1 changed files with 1 additions and 1 deletions
2
proton
2
proton
|
|
@ -1329,7 +1329,7 @@ class Session:
|
||||||
if key not in self.env:
|
if key not in self.env:
|
||||||
self.env[key] = value
|
self.env[key] = value
|
||||||
used_user_settings[key] = value
|
used_user_settings[key] = value
|
||||||
except:
|
except Exception:
|
||||||
log("************************************************")
|
log("************************************************")
|
||||||
log("THERE IS AN ERROR IN YOUR user_settings.py FILE:")
|
log("THERE IS AN ERROR IN YOUR user_settings.py FILE:")
|
||||||
log("%s" % sys.exc_info()[1])
|
log("%s" % sys.exc_info()[1])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue