v1.3.4 - Handle any error in broadcast
Summary
Turns out there are some exceptions that are caused by a lost or unavailable connection that do not inherit from ConnectionError
. For instance OSError: [Errno 113] No route to host
and TimeoutError: [Errno 110] Connection timed out
. Since errors during broadcast don't really matter (if we can't reach the target they just don't get the message, no big deal), we just ignore all exceptions raised from drain
. We also rewrite do_report_dirties
so that even if an exception were to be raised during one broadcast, the rest of the broadcasts, and more importantly ended game removal, will still happen.
Pull Requests
- Fix exception handling (#528)