From ffcbdc8c43ea6e1994df87419fd1888a0e0081a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20R=C4=85czy?= Date: Mon, 31 Mar 2025 19:59:29 -0400 Subject: [PATCH] paramsd: catch all exceptions during migration (#34965) Catch all exceptions during migration --- selfdrive/locationd/paramsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/locationd/paramsd.py b/selfdrive/locationd/paramsd.py index 8daf60d32f..33a282da9a 100755 --- a/selfdrive/locationd/paramsd.py +++ b/selfdrive/locationd/paramsd.py @@ -213,7 +213,7 @@ def migrate_cached_vehicle_params_if_needed(params_reader: Params): last_parameters_msg.liveParameters.stiffnessFactor = last_parameters_dict['stiffnessFactor'] last_parameters_msg.liveParameters.angleOffsetAverageDeg = last_parameters_dict['angleOffsetAverageDeg'] params_reader.put("LiveParameters", last_parameters_msg.to_bytes()) - except (json.JSONDecodeError, KeyError): + except Exception: pass