diff --git a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/BridgeHttpImpl.java b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/BridgeHttpImpl.java index a98ac2e3a7..3725194c43 100644 --- a/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/BridgeHttpImpl.java +++ b/io.openems.edge.bridge.http/src/io/openems/edge/bridge/http/BridgeHttpImpl.java @@ -229,10 +229,10 @@ private void handleEvent(Event event) { final var item = this.cycleEndpoints.poll(); synchronized (item) { if (item.isRunning()) { - - if (!this.cycleEndpoints.offer(item.resetTo(1))) - - continue; + if (!this.cycleEndpoints.offer(item.resetTo(1))) { + this.log.warn("Unable to re-add " + item + " to queue again."); + } + continue; } item.setRunning(true);