From 014e1521b337c71cfefdb929a7f8f7789c6860b5 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 21 Oct 2020 10:43:39 +0200 Subject: [PATCH] add error handling to pandad get signature --- selfdrive/pandad.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/selfdrive/pandad.py b/selfdrive/pandad.py index a3ddaf484..524440404 100755 --- a/selfdrive/pandad.py +++ b/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():