We can time out, that's fine:)

This commit is contained in:
2024-06-30 23:14:04 +02:00
parent 57bd4f0cf0
commit b64e270247

View File

@ -37,6 +37,8 @@ class routerstats_client():
raise ConnectionRefusedError(error)
except ConnectionError as error:
logging.error('Could not connect to ' + str(self.host) + ':' + str(self.port) + ': ' + str(error))
except TimeoutError as error:
logging.error('Timed out')
def login(self):
#Wait for server to say "hello"