1 parent ade1c2f commit d38d23fCopy full SHA for d38d23f
1 file changed
pyrogram/connection/connection.py
@@ -53,7 +53,8 @@ def connect(self):
53
try:
54
log.info("Connecting...")
55
self.connection.connect(self.address)
56
- except OSError:
+ except OSError as e:
57
+ log.warning(e) # TODO: Remove
58
self.connection.close()
59
time.sleep(1)
60
else:
0 commit comments