mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-27 20:37:54 +00:00
Info log connection settings
This commit is contained in:
parent
49f2cbe04f
commit
ef9fc969d3
@ -58,6 +58,10 @@ class Connection:
|
||||
self.connection.close()
|
||||
time.sleep(1)
|
||||
else:
|
||||
log.info("Connected! IPv{} - {}".format(
|
||||
"6" if self.ipv6 else "4",
|
||||
self.mode.__name__
|
||||
))
|
||||
break
|
||||
else:
|
||||
raise TimeoutError
|
||||
|
Loading…
x
Reference in New Issue
Block a user