From d38c75a7269acf8403214f58d7f0fdb76d858072 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 11 Jul 2021 21:18:28 -0700 Subject: [PATCH] more athena logging (#21558) old-commit-hash: 49e316a34bc8fc025a8c8e71f8a91c32557ac976 --- selfdrive/athena/athenad.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/selfdrive/athena/athenad.py b/selfdrive/athena/athenad.py index 99e5998cd..e5e036e27 100755 --- a/selfdrive/athena/athenad.py +++ b/selfdrive/athena/athenad.py @@ -424,7 +424,7 @@ def ws_recv(ws, end_event): except WebSocketTimeoutException: ns_since_last_ping = int(sec_since_boot() * 1e9) - last_ping if ns_since_last_ping > RECONNECT_TIMEOUT_S * 1e9: - cloudlog.exception("athenad.wc_recv.timeout") + cloudlog.exception("athenad.ws_recv.timeout") end_event.set() except Exception: cloudlog.exception("athenad.ws_recv.exception") @@ -491,6 +491,8 @@ def main(): except (ConnectionError, TimeoutError, WebSocketException): conn_retries += 1 params.delete("LastAthenaPingTime") + if TICI: + cloudlog.exception("athenad.main.exception2") except Exception: cloudlog.exception("athenad.main.exception")