replace except with except Exception
This commit is contained in:
1 parent
343fe4357c
commit
14a315a673
14 files changed
+33
-30
No files matched your search
+1
-1
@@ -130,7 +130,7 @@ class FE_Gate(FE_Base):
|
||||
if b"e" in request.args:
|
||||
try:
|
||||
err = int(request.args[b"e"][0].decode())
|
||||
except:
|
||||
except Exception:
|
||||
err = 0
|
||||
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user