Reconnect when a task times out and propagates.
This commit is contained in:
parent
c6d26216a6
commit
b7488d7c6e
@ -401,6 +401,7 @@ class Client:
|
|||||||
except (HTTPException,
|
except (HTTPException,
|
||||||
GatewayNotFound,
|
GatewayNotFound,
|
||||||
aiohttp.ClientError,
|
aiohttp.ClientError,
|
||||||
|
asyncio.TimeoutError,
|
||||||
websockets.InvalidHandshake,
|
websockets.InvalidHandshake,
|
||||||
websockets.WebSocketProtocolError) as e:
|
websockets.WebSocketProtocolError) as e:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user