mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 07:22:04 +08:00
athenad: catch connection/timeoutError
This commit is contained in:
@@ -433,6 +433,9 @@ def main():
|
||||
handle_long_poll(ws)
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
break
|
||||
except (ConnectionError, TimeoutError):
|
||||
conn_retries += 1
|
||||
params.delete("LastAthenaPingTime")
|
||||
except Exception:
|
||||
crash.capture_exception()
|
||||
cloudlog.exception("athenad.main.exception")
|
||||
|
||||
Reference in New Issue
Block a user