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
@@ -63,7 +63,7 @@ class AimedbProtocol(Protocol):
|
||||
|
||||
try:
|
||||
decrypted = cipher.decrypt(data)
|
||||
except:
|
||||
except Exception:
|
||||
self.logger.error(f"Failed to decrypt {data.hex()}")
|
||||
return None
|
||||
|
||||
|
||||
Reference in new issue
Block a user