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) {
// Handle parsing errors, possibly due to malformed data
appLogger.error('Error parsing Cayenne LPP data: $e');
return <
Map<String, dynamic>
>[]; // Return an empty list on error to avoid crashing the app
// Return any telemetry parsed so far to preserve partial data
return telemetry;
}
}