diff --git a/bundles/org.openhab.io.transport.modbus/src/main/java/org/openhab/io/transport/modbus/internal/ModbusManagerImpl.java b/bundles/org.openhab.io.transport.modbus/src/main/java/org/openhab/io/transport/modbus/internal/ModbusManagerImpl.java index dbf50dcd6aecc..06136ab6e59e9 100644 --- a/bundles/org.openhab.io.transport.modbus/src/main/java/org/openhab/io/transport/modbus/internal/ModbusManagerImpl.java +++ b/bundles/org.openhab.io.transport.modbus/src/main/java/org/openhab/io/transport/modbus/internal/ModbusManagerImpl.java @@ -768,7 +768,7 @@ public void registerRegularPoll(@NonNull PollTask task, long pollPeriodMillis, l started); try { executeOperation(task, false, pollOperation); - } catch (Exception e) { + } catch (RuntimeException e) { // We want to catch all unexpected exceptions since all unhandled exceptions make // ScheduledExecutorService halt the polling. It is better to print out the exception, and try again // (on next poll cycle)