Retry on more exceptions in auto reconnect code.

This commit is contained in:
Rapptz 2017-03-07 01:12:28 -05:00
parent ead18e3948
commit d87d4e716f

View File

@ -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,