Compare commits
No commits in common. "switch_to_event" and "master" have entirely different histories.
switch_to_
...
master
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ class Events(StreamingAPI):
|
||||||
return
|
return
|
||||||
|
|
||||||
if self.message_handler:
|
if self.message_handler:
|
||||||
self.message_handler(event)
|
self.message_handler(message)
|
||||||
|
|
||||||
def _on_error(self, ws, e):
|
def _on_error(self, ws, e):
|
||||||
if isinstance(e, websocket._exceptions.WebSocketBadStatusException) and getattr(e, "status_code") == 401:
|
if isinstance(e, websocket._exceptions.WebSocketBadStatusException) and getattr(e, "status_code") == 401:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue