We can time out, that's fine:)
This commit is contained in:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user