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