summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'parse_xml.cpp')
-rw-r--r--parse_xml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse_xml.cpp b/parse_xml.cpp
index 152c441..f56e01a 100644
--- a/parse_xml.cpp
+++ b/parse_xml.cpp
@@ -244,8 +244,8 @@ struct XmlNodeConverter : public XmlConverter<Object> {
244 std::string attrText; 244 std::string attrText;
245 bool ret = getAttr(root, attrName, &attrText) && ::android::vintf::parse(attrText, attr); 245 bool ret = getAttr(root, attrName, &attrText) && ::android::vintf::parse(attrText, attr);
246 if (!ret) { 246 if (!ret) {
247 mLastError = "Could not find/parse attr with name \"" + attrName + "\" for element <" 247 mLastError = "Could not find/parse attr with name \"" + attrName + "\" and value \"" +
248 + elementName() + ">"; 248 attrText + "\" for element <" + elementName() + ">";
249 } 249 }
250 return ret; 250 return ret;
251 } 251 }