mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Log info when disconnecting
This commit is contained in:
parent
672515f11a
commit
440654a63f
@ -54,6 +54,7 @@ class Connection:
|
|||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self.connection.close()
|
self.connection.close()
|
||||||
|
log.info("Disconnected")
|
||||||
|
|
||||||
def send(self, data: bytes):
|
def send(self, data: bytes):
|
||||||
with self.lock:
|
with self.lock:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user