Silence the non-sensical error:)
This commit is contained in:
@ -128,6 +128,8 @@ class RouterstatsClient():
|
||||
self.connected = False
|
||||
raise NotConnected
|
||||
except TimeoutError:
|
||||
if line == b'':
|
||||
break
|
||||
logging.error('Timeout while fetching data, got: %s' ,line)
|
||||
break
|
||||
except OSError as error:
|
||||
|
||||
Reference in New Issue
Block a user