aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-02-19 17:44:27 -0500
committerRapptz <[email protected]>2017-02-19 17:44:27 -0500
commitb7488d7c6e8eddeb7807fbd942a6d6d7806d055b (patch)
tree17785597a1b37b295384b930ceaa7a55a7156f8a
parent[commands] Fix bad logic in command list filtering. (diff)
downloaddiscord.py-b7488d7c6e8eddeb7807fbd942a6d6d7806d055b.tar.xz
discord.py-b7488d7c6e8eddeb7807fbd942a6d6d7806d055b.zip
Reconnect when a task times out and propagates.
-rw-r--r--discord/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py
index dc3b24cc..9d3ea761 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -401,6 +401,7 @@ class Client:
except (HTTPException,
GatewayNotFound,
aiohttp.ClientError,
+ asyncio.TimeoutError,
websockets.InvalidHandshake,
websockets.WebSocketProtocolError) as e: