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
parent
c53a6a9e61
commit
26c2631296
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue