|
|
@ -821,10 +821,6 @@ def main(exit_event: Optional[threading.Event] = None): |
|
|
|
except (ConnectionError, TimeoutError, WebSocketException): |
|
|
|
except (ConnectionError, TimeoutError, WebSocketException): |
|
|
|
conn_retries += 1 |
|
|
|
conn_retries += 1 |
|
|
|
params.remove("LastAthenaPingTime") |
|
|
|
params.remove("LastAthenaPingTime") |
|
|
|
# TODO: socket.timeout and TimeoutError are now the same exception since python3.10 |
|
|
|
|
|
|
|
# Remove the socket.timeout case once we have fully moved to python3.11 |
|
|
|
|
|
|
|
except socket.timeout: # pylint: disable=duplicate-except |
|
|
|
|
|
|
|
params.remove("LastAthenaPingTime") |
|
|
|
|
|
|
|
except Exception: |
|
|
|
except Exception: |
|
|
|
cloudlog.exception("athenad.main.exception") |
|
|
|
cloudlog.exception("athenad.main.exception") |
|
|
|
|
|
|
|
|
|
|
|