athenad: catch connection/timeoutError

old-commit-hash: 75c0594cdb
commatwo_master
Willem Melching 4 years ago
parent ca9ed8b289
commit b401941961
  1. 3
      selfdrive/athena/athenad.py

@ -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")

Loading…
Cancel
Save