modified CHANGELOG for 5.0, improved some logs

This commit is contained in:
Olof hagsand 2021-02-25 21:58:57 +01:00
parent e1e391ad0d
commit 84ac4a1e49
6 changed files with 70 additions and 63 deletions

View file

@ -1518,7 +1518,7 @@ xml_rootchild(cxobj *xp,
goto done;
}
if ((xc = xml_child_i(xp, i)) == NULL){
clicon_err(OE_XML, 0, "Child not found");
clicon_err(OE_XML, ENOENT, "Child %d of parent %s not found", i, xml_name(xp));
goto done;
}
if (xml_child_rm(xp, i) < 0)