YAML model loading: WARN log when an element is not a container object (#4824)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
pull/4826/head
lolodomo 2025-05-25 21:17:01 +02:00 committed by GitHub
parent c53a6a9e61
commit 26c2631296
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ public class YamlModelRepositoryImpl implements WatchService.WatchEventListener,
if (!node.isContainerNode() || node.isArray()) {
// all processable sub-elements are container nodes (not array)
logger.trace("Element {} in model {} is not a container object, ignoring it", elementName,
logger.warn("Element {} in model {} is not a container object, ignoring it", elementName,
modelName);
if (getElementName(YamlSemanticTagDTO.class).equals(elementName) && node.isArray()) {
logger.warn(