Lower logging level for connection error messages in I2PDialer
This commit is contained in:
parent
d7ee73843e
commit
c9a3877b92
|
@ -37,7 +37,7 @@ class I2PDialer(I2PThread):
|
||||||
self._send(b'HELLO VERSION MIN=3.0 MAX=3.3\n')
|
self._send(b'HELLO VERSION MIN=3.0 MAX=3.3\n')
|
||||||
self.version_reply = self._receive_line().split()
|
self.version_reply = self._receive_line().split()
|
||||||
if b'RESULT=OK' not in self.version_reply:
|
if b'RESULT=OK' not in self.version_reply:
|
||||||
logging.warning('Error while connecting to %s', self.destination)
|
logging.debug('Error while connecting to %s', self.destination)
|
||||||
self.success = False
|
self.success = False
|
||||||
|
|
||||||
self._send(
|
self._send(
|
||||||
|
@ -45,6 +45,5 @@ class I2PDialer(I2PThread):
|
||||||
+ self.destination + b'\n')
|
+ self.destination + b'\n')
|
||||||
reply = self._receive_line().split(b' ')
|
reply = self._receive_line().split(b' ')
|
||||||
if b'RESULT=OK' not in reply:
|
if b'RESULT=OK' not in reply:
|
||||||
logging.warning(
|
logging.debug('Error while connecting to %s', self.destination)
|
||||||
'Error while connecting to %s', self.destination)
|
|
||||||
self.success = False
|
self.success = False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user