add error handling to pandad get signature

albatross
Willem Melching 2020-10-21 10:43:39 +02:00
parent d2a9617f9c
commit 014e1521b3
1 changed files with 5 additions and 1 deletions

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():