diff --git a/pyrogram/connection/connection.py b/pyrogram/connection/connection.py index 3a2126e9..b0602494 100644 --- a/pyrogram/connection/connection.py +++ b/pyrogram/connection/connection.py @@ -54,7 +54,7 @@ class Connection: log.info("Connecting...") await self.protocol.connect(self.address) except OSError as e: - log.warning(e) # TODO: Remove + log.warning(f"Unable to connect due to network issues: {e}") self.protocol.close() await asyncio.sleep(1) else: