more athena logging (#21558)

old-commit-hash: 49e316a34b
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent 7c9ce25b05
commit d38c75a726
  1. 4
      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")

Loading…
Cancel
Save