diff options
| author | Rapptz <[email protected]> | 2017-02-19 17:44:27 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-02-19 17:44:27 -0500 |
| commit | b7488d7c6e8eddeb7807fbd942a6d6d7806d055b (patch) | |
| tree | 17785597a1b37b295384b930ceaa7a55a7156f8a | |
| parent | [commands] Fix bad logic in command list filtering. (diff) | |
| download | discord.py-b7488d7c6e8eddeb7807fbd942a6d6d7806d055b.tar.xz discord.py-b7488d7c6e8eddeb7807fbd942a6d6d7806d055b.zip | |
Reconnect when a task times out and propagates.
| -rw-r--r-- | discord/client.py | 1 |
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: |