Skip to content

Commit 440654a

Browse files
committed
Log info when disconnecting
1 parent 672515f commit 440654a

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
@@ -54,6 +54,7 @@ def connect(self):
5454

5555
def close(self):
5656
self.connection.close()
57+
log.info("Disconnected")
5758

5859
def send(self, data: bytes):
5960
with self.lock:

0 commit comments

Comments
 (0)