2
0
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:
Dan 2018-09-18 21:28:44 +02:00
parent 8b364202c3
commit 84492fb942

View File

@ -66,6 +66,7 @@ class Connection:
))
break
else:
log.warning("Connection failed! Trying again...")
raise TimeoutError
def close(self):