|
|
@ -194,7 +194,7 @@ class GatewayClient(LoggingClass): |
|
|
|
if isinstance(error, KeyboardInterrupt): |
|
|
|
self.shutting_down = True |
|
|
|
self.ws_event.set() |
|
|
|
raise Exception('WS recieved error: %s', error) |
|
|
|
raise Exception('WS received error: {}'.format(error)) |
|
|
|
|
|
|
|
def on_open(self): |
|
|
|
if self.zlib_stream_enabled: |
|
|
|