diff --git a/melisa/core/gateway.py b/melisa/core/gateway.py index 1e0588a..a13ce27 100644 --- a/melisa/core/gateway.py +++ b/melisa/core/gateway.py @@ -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