[config] Added log message with validation errors for things (#2711)
Signed-off-by: Jan N. Klug <github@klug.nrw>pull/2714/head
parent
265c0be444
commit
fd16210ee6
|
@ -813,6 +813,8 @@ public class ThingManagerImpl
|
||||||
try {
|
try {
|
||||||
configDescriptionValidator.validate(configuration.getProperties(), configDescriptionURI);
|
configDescriptionValidator.validate(configuration.getProperties(), configDescriptionURI);
|
||||||
} catch (ConfigValidationException e) {
|
} catch (ConfigValidationException e) {
|
||||||
|
logger.trace("Failed to validate config for '{}' with URI '{}': {}", targetUID, configDescriptionURI,
|
||||||
|
e.getValidationMessages());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue