more athena logging (#21558)

This commit is contained in:
Adeeb Shihadeh
2021-07-11 21:18:28 -07:00
committed by GitHub
parent 6d9dc9945a
commit 49e316a34b
+3 -1
View File
@@ -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")