disable panda flash logging (#30000)

* disable panda flash logging

* bump panda
old-commit-hash: 63068b936b
This commit is contained in:
Adeeb Shihadeh
2023-09-21 20:51:28 -07:00
committed by GitHub
parent 03c4bdc0be
commit 8b96b9af7b
2 changed files with 7 additions and 5 deletions
+1 -1
Submodule panda updated: 546087125f...62db60595b
+6 -4
View File
@@ -34,10 +34,12 @@ def read_panda_logs(panda: Panda) -> None:
log_state = {}
try:
l = json.loads(params.get("PandaLogState"))
for k, v in l.items():
if isinstance(k, str) and isinstance(v, int):
log_state[k] = v
ls = params.get("PandaLogState")
if ls is not None:
l = json.loads(ls)
for k, v in l.items():
if isinstance(k, str) and isinstance(v, int):
log_state[k] = v
except (TypeError, json.JSONDecodeError):
cloudlog.exception("failed to parse PandaLogState")