mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-22 10:12:06 +08:00
Merge branch 'refs/heads/master-priv-log-sunnylink-error' into master-dev-c3
This commit is contained in:
@@ -179,6 +179,7 @@ def jsonrpc_handler(end_event: threading.Event) -> None:
|
||||
elif "id" in data and ("result" in data or "error" in data):
|
||||
log_recv_queue.put_nowait(data)
|
||||
else:
|
||||
cloudlog.error("athena.jsonrpc_handler.invalid_request", data=data)
|
||||
raise Exception("not a valid request or response")
|
||||
except queue.Empty:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user