Skip to content

Commit 8d70d0b

Browse files
authored
Missed an error state in modbus (#1088)
1 parent 13214fe commit 8d70d0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/hivemq-edge-module-modbus/src/main/java/com/hivemq/edge/adapters/modbus/ModbusProtocolAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public void start(
129129
} finally {
130130
startRequested.set(false);
131131
log.error("Unable to connect to the Modbus device", throwable);
132+
protocolAdapterState.setConnectionStatus(ERROR);
132133
}
133134
}
134135
});

0 commit comments

Comments
 (0)