Silence the non-sensical error:)

This commit is contained in:
2024-07-03 18:44:57 +02:00
parent 72bf13539d
commit f24b186ef6

View File

@ -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: