Improve log message for invalid configuration updates by handler (#2766)
Signed-off-by: Jan N. Klug <github@klug.nrw>pull/2768/head
parent
3d7be0ffa7
commit
8f5d703ceb
|
@ -451,8 +451,9 @@ public abstract class BaseThingHandler implements ThingHandler {
|
|||
try {
|
||||
callback.validateConfigurationParameters(this.thing, configuration.getProperties());
|
||||
} catch (ConfigValidationException e) {
|
||||
logger.warn("Attempt to apply invalid configuration '{}' on thing '{}' blocked. This is most likely a bug.",
|
||||
configuration, thing.getUID());
|
||||
logger.warn(
|
||||
"Attempt to apply invalid configuration '{}' on thing '{}' blocked. This is most likely a bug: {}",
|
||||
configuration, thing.getUID(), e.getValidationMessages());
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue