add error handling to pandad get signature
parent
d2a9617f9c
commit
014e1521b3
|
@ -40,7 +40,11 @@ def get_expected_signature(fw_fn=None):
|
||||||
if fw_fn is None:
|
if fw_fn is None:
|
||||||
fw_fn = get_firmware_fn()
|
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():
|
def update_panda():
|
||||||
|
|
Loading…
Reference in New Issue