mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-27 12:28:09 +00:00
Add an extra warning in case connection fails
This commit is contained in:
parent
8b364202c3
commit
84492fb942
@ -66,6 +66,7 @@ class Connection:
|
||||
))
|
||||
break
|
||||
else:
|
||||
log.warning("Connection failed! Trying again...")
|
||||
raise TimeoutError
|
||||
|
||||
def close(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user