Ignore unknown subobjects while parsing RRO/ERO objects in PCEP messages
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / object / AbstractEROWithSubobjectsParser.java
index fda09f91d19efe82a9c295515cc5e1c26cb55c30..e3fdcdae8c316a6ce59ea3fc0c548dd0fd1788a7 100644 (file)
@@ -55,7 +55,7 @@ public abstract class AbstractEROWithSubobjectsParser extends CommonObjectParser
             LOG.debug("Attempt to parse subobject from bytes: {}", ByteBufUtil.hexDump(buffer));
             final Subobject sub = this.subobjReg.parseSubobject(type, buffer.readSlice(length), loose);
             if (sub == null) {
-                LOG.warn("Unknown subobject type: {}. Ignoring subobject.", type);
+                LOG.warn("Parsing failed for subobject type: {}. Ignoring subobject.", type);
             } else {
                 LOG.debug("Subobject was parsed. {}", sub);
                 subs.add(sub);