From 59e9034aa608a03a3ba5c7cdcdeb7208904e6f8d Mon Sep 17 00:00:00 2001 From: Vita Tucek Date: Mon, 13 Jan 2025 22:51:59 +0100 Subject: [PATCH] Extends updateThing method warning message. 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 c4796b50307..9448f8d858c 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 @@ protected void updateThing(Thing thing) { 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) {