exception

This commit is contained in:
grey-cat-1908 2022-04-29 20:47:12 +03:00
parent e770f4270e
commit cc5f94f380

View file

@ -115,7 +115,7 @@ class Gateway:
await self.send_identify()
self.loop.create_task(self.receive())
await self.check_heartbeating()
except (aiohttp.ClientConnectionError, asyncio.TimeoutError) as exc:
except Exception as exc:
_logger.error("(Shard %s) Connecting failed!", self.shard_id)
raise exc