diff --git a/discord/client.py b/discord/client.py index dc3b24ccb..9d3ea7613 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: