aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 9c1fdac2..440b5be3 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -367,7 +367,7 @@ class Client:
while True:
try:
await self.ws.poll_event()
- except ResumeWebSocket as e:
+ except ResumeWebSocket:
log.info('Got a request to RESUME the websocket.')
coro = DiscordWebSocket.from_client(self, shard_id=self.shard_id,
session=self.ws.session_id,