More updates for Error/Log/Debug API changes
This commit is contained in:
parent
24a4991ec8
commit
f25a77734e
8 changed files with 4 additions and 104 deletions
|
|
@ -679,12 +679,8 @@ restconf_clixon_backend(clixon_handle h,
|
|||
if (clicon_rpc_get_config(h, pw->pw_name, "running", "/restconf", nsc, NULL, &xconfig) < 0)
|
||||
goto done;
|
||||
if ((xerr = xpath_first(xconfig, NULL, "/rpc-error")) != NULL){
|
||||
#if 1
|
||||
if (clixon_err_netconf(h, OE_NETCONF, 0, xerr, "Get backend restconf config") < 0)
|
||||
goto done;
|
||||
#else
|
||||
clixon_netconf_error(h, xerr, "Get backend restconf config", NULL);
|
||||
#endif
|
||||
goto done;
|
||||
}
|
||||
/* Extract restconf configuration */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue