From 6922d60fd99562103f9f67f8b254f932a3d70759 Mon Sep 17 00:00:00 2001 From: Vita Date: Sun, 19 Jan 2025 12:19:09 +0100 Subject: [PATCH] Extends updateThing method warning message. (#4558) Fixes #4557 Signed-off-by: Vita Tucek --- .../java/org/openhab/core/thing/binding/BaseThingHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/binding/BaseThingHandler.java b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/binding/BaseThingHandler.java index c4796b503..9448f8d85 100644 --- a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/binding/BaseThingHandler.java +++ b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/binding/BaseThingHandler.java @@ -479,8 +479,8 @@ public abstract class BaseThingHandler implements ThingHandler { channel.getConfiguration().getProperties())); } catch (ConfigValidationException e) { logger.warn( - "Attempt to update thing '{}' with a thing containing invalid configuration '{}', blocked. This is most likely a bug.", - thing.getUID(), thing.getConfiguration()); + "Attempt to update thing '{}' with a thing containing invalid configuration '{}' blocked. This is most likely a bug: {}", + thing.getUID(), thing.getConfiguration(), e.getValidationMessages()); return; } synchronized (this) {