Fix-up missing loggers from f271316

This commit is contained in:
Lonami Exo
2019-01-12 12:15:29 +01:00
parent f271316d7d
commit ae4d4ba3ef
4 changed files with 9 additions and 8 deletions

View File

@@ -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()