client: close failing connection explicitly in case of unhandled exception
The changes consist in: - indenting many lines without exceeding 80 chars - setting conn = None ASAP on ConnectionClosed - adding a try..except clause Starting from next commit, the exception can be POSException.ReadOnlyError.
Showing
Please register or sign in to comment