mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-10 13:48:49 +03:00
proton: Stop using bare except.
This commit is contained in:
parent
0405ca582b
commit
732a1296a1
2
proton
2
proton
@ -1317,7 +1317,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…
x
Reference in New Issue
Block a user