mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix-up missing loggers from f271316
This commit is contained in:
@@ -136,9 +136,9 @@ class Connection(abc.ABC):
|
||||
pass
|
||||
except Exception as e:
|
||||
if isinstance(e, ConnectionError):
|
||||
__log__.info('The server closed the connection while sending')
|
||||
self._log.info('The server closed the connection while sending')
|
||||
else:
|
||||
__log__.exception('Unexpected exception in the send loop')
|
||||
self._log.exception('Unexpected exception in the send loop')
|
||||
|
||||
self.disconnect()
|
||||
|
||||
|
Reference in New Issue
Block a user