Compare commits

..

No commits in common. "switch_to_event" and "master" have entirely different histories.

View file

@ -33,7 +33,7 @@ class Events(StreamingAPI):
return
if self.message_handler:
self.message_handler(event)
self.message_handler(message)
def _on_error(self, ws, e):
if isinstance(e, websocket._exceptions.WebSocketBadStatusException) and getattr(e, "status_code") == 401: