It's possible when using a Modbus TCP connection that the connection is unexpectedly closed while writing to a register. This raises a ConnectionException that is not caught in the existing catch statement.
Note: The retry is done in the retry_on_empty catch
It's possible that this type of exception should not be caught, and should instead raise an error as the connection should not close unexpectedly. If I misunderstood, feel free to decline the pull request
It's possible when using a Modbus TCP connection that the connection is unexpectedly closed while writing to a register. This raises a
ConnectionException
that is not caught in the existingcatch
statement.Note: The retry is done in the
retry_on_empty
catchIt's possible that this type of exception should not be caught, and should instead raise an error as the connection should not close unexpectedly. If I misunderstood, feel free to decline the pull request