mirror of
https://github.com/meshtastic/python.git
synced 2026-06-02 20:55:55 -04:00
Re-establish the OSError being raised to match former behavior, but still reconnect. TBD if this is quite the right approach.
This commit is contained in:
@@ -105,6 +105,7 @@ class TCPInterface(StreamInterface):
|
||||
except OSError as e:
|
||||
logger.error(f"Socket send error, reconnecting: {e}")
|
||||
self._reconnect()
|
||||
raise
|
||||
|
||||
def _readBytes(self, length) -> Optional[bytes]:
|
||||
"""Read an array of bytes from our stream"""
|
||||
|
||||
Reference in New Issue
Block a user