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:
Ian McEwen
2026-05-31 14:53:46 -07:00
parent 12509bef30
commit 435e53eae2
2 changed files with 9 additions and 7 deletions

View File

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