Update lib/helpers/cayenne_lpp.dart

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Winston Lowe
2026-02-15 16:58:44 -08:00
committed by GitHub
parent 03b3533675
commit 1589883c88
+2 -3
View File
@@ -192,9 +192,8 @@ class CayenneLpp {
} catch (e) { } catch (e) {
// Handle parsing errors, possibly due to malformed data // Handle parsing errors, possibly due to malformed data
appLogger.error('Error parsing Cayenne LPP data: $e'); appLogger.error('Error parsing Cayenne LPP data: $e');
return < // Return any telemetry parsed so far to preserve partial data
Map<String, dynamic> return telemetry;
>[]; // Return an empty list on error to avoid crashing the app
} }
} }