Browse Source

Reconnect on any OSError.

pull/530/head
Rapptz 8 years ago
parent
commit
c90e52450a
  1. 4
      discord/client.py

4
discord/client.py

@ -386,11 +386,9 @@ class Client:
while not self.is_closed():
try:
yield from self._connect()
except (TimeoutError,
except (OSError,
HTTPException,
GatewayNotFound,
BlockingIOError,
ConnectionError,
ConnectionClosed,
aiohttp.ClientError,
asyncio.TimeoutError,

Loading…
Cancel
Save