Skip to content

Commit b249062

Browse files
committed
Add a warning in case the connection failed
1 parent 5d58ff2 commit b249062

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyrogram/connection/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ async def connect(self):
5757
else:
5858
break
5959
else:
60+
log.warning("Connection failed! Trying again...")
6061
raise TimeoutError
6162

6263
def close(self):

0 commit comments

Comments
 (0)