Browse Source

Retry on more exceptions in auto reconnect code.

pull/476/merge
Rapptz 8 years ago
parent
commit
d87d4e716f
  1. 5
      discord/client.py

5
discord/client.py

@ -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…
Cancel
Save