[config] Added log message with validation errors for things (#2711)

Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
J-N-K 2022-01-29 10:57:31 +01:00 committed by GitHub
parent 265c0be444
commit fd16210ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -813,6 +813,8 @@ public class ThingManagerImpl
try {
configDescriptionValidator.validate(configuration.getProperties(), configDescriptionURI);
} catch (ConfigValidationException e) {
logger.trace("Failed to validate config for '{}' with URI '{}': {}", targetUID, configDescriptionURI,
e.getValidationMessages());
return false;
}