From f9fbb765fb4ef20ad3766b4a5deb1ef1c041399e Mon Sep 17 00:00:00 2001 From: Stefan Triller Date: Mon, 8 Feb 2021 23:05:10 +0100 Subject: [PATCH] [smartmeter] Fix Thing OFFLINE Communication Error due Exception in last PR (#10088) Fixes #10087 Signed-off-by: Stefan Triller --- .../smartmeter/internal/iec62056/Iec62056_21SerialConnector.java | 1 - 1 file changed, 1 deletion(-) diff --git a/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/iec62056/Iec62056_21SerialConnector.java b/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/iec62056/Iec62056_21SerialConnector.java index f1a06905c..81f8ba404 100644 --- a/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/iec62056/Iec62056_21SerialConnector.java +++ b/bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/iec62056/Iec62056_21SerialConnector.java @@ -100,7 +100,6 @@ public class Iec62056_21SerialConnector extends ConnectorBase { @Override public void newDataMessage(@Nullable DataMessage dataMessage) { logger.debug("Datamessage read: {}", dataMessage); - emitter.onError(new IllegalArgumentException("Error while emitting dataMessage")); emitter.onNext(dataMessage); }