Re-raising the exception in transports.py means that socket.disconnect() will never be called. This also seems to have the side effect of raising an exception whenever someone doesn't cleanly disconnect the websocket.
It looks like this was added as a part of this commit: 12da9667deba432d8917129afab1daa86c20ec84
Re-raising the exception in transports.py means that socket.disconnect() will never be called. This also seems to have the side effect of raising an exception whenever someone doesn't cleanly disconnect the websocket.
It looks like this was added as a part of this commit: 12da9667deba432d8917129afab1daa86c20ec84