mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-07 22:12:05 +08:00
add error handling to pandad get signature
This commit is contained in:
+5
-1
@@ -40,7 +40,11 @@ def get_expected_signature(fw_fn=None):
|
||||
if fw_fn is None:
|
||||
fw_fn = get_firmware_fn()
|
||||
|
||||
return Panda.get_signature_from_firmware(fw_fn)
|
||||
try:
|
||||
return Panda.get_signature_from_firmware(fw_fn)
|
||||
except Exception:
|
||||
cloudlog.exception("Error computing expected signature")
|
||||
return b""
|
||||
|
||||
|
||||
def update_panda():
|
||||
|
||||
Reference in New Issue
Block a user