Remove RestconfError.ErrorTag
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / jersey / providers / patch / XmlPatchStatusBodyWriter.java
index 8b279360bf546f40e71664a67d9dd6556e0ff8a0..768041dfdf6f4a944d46a3ecd779e6b078432b94 100644 (file)
@@ -97,7 +97,7 @@ public class XmlPatchStatusBodyWriter extends AbstractPatchStatusBodyWriter {
             writer.writeEndElement();
 
             writer.writeStartElement("error-tag");
-            writer.writeCharacters(restconfError.getErrorTag().getTagValue());
+            writer.writeCharacters(restconfError.getErrorTag().elementBody());
             writer.writeEndElement();
 
             // optional node