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 / AbstractXROWithSubobjectsParser.java
index 0f7ca2a2398cd79063bf67d2381e702675f76c2e..bd23431ddebf0751cb7b86f3a2f47fc2355191cc 100644 (file)
@@ -55,7 +55,7 @@ public abstract class AbstractXROWithSubobjectsParser extends CommonObjectParser
             LOG.debug("Attempt to parse subobject from bytes: {}", ByteBufUtil.hexDump(buffer));
             final Subobject sub = this.subobjReg.parseSubobject(type, buffer.readSlice(length), mandatory);
             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);