mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Retry on more exceptions in auto reconnect code.
This commit is contained in:
parent
ead18e3948
commit
d87d4e716f
@ -386,8 +386,11 @@ class Client:
|
||||
while not self.is_closed():
|
||||
try:
|
||||
yield from self._connect()
|
||||
except (HTTPException,
|
||||
except (TimeoutError,
|
||||
HTTPException,
|
||||
GatewayNotFound,
|
||||
BlockingIOError,
|
||||
ConnectionError,
|
||||
ConnectionClosed,
|
||||
aiohttp.ClientError,
|
||||
asyncio.TimeoutError,
|
||||
|
Loading…
x
Reference in New Issue
Block a user