add error handling to pandad get signature

pull/214/head
Willem Melching 5 years ago
parent d2a9617f9c
commit 014e1521b3
  1. 6
      selfdrive/pandad.py

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

Loading…
Cancel
Save