mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 22:12:05 +08:00
more athena logging (#21558)
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user