diff options
| -rw-r--r-- | discord/client.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index 6906777e..6f77c862 100644 --- a/discord/client.py +++ b/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, |