add error handling to pandad get signature

old-commit-hash: 014e1521b337c71cfefdb929a7f8f7789c6860b5
This commit is contained in:
Willem Melching
2020-10-21 10:43:39 +02:00
parent 1d27baabcb
commit c9341b0735
+5 -1
View File
@@ -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():