mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 23:43:20 +02:00
src/klish-plugin-infix: improve log message on failed copy
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -433,7 +433,8 @@ int infix_copy(kcontext_t *ctx)
|
||||
} else {
|
||||
rc = sr_copy_config(sess, NULL, srcds->datastore, 0);
|
||||
if (rc)
|
||||
emsg(sess, ERRMSG "unable to copy configuration (%d)\n", rc);
|
||||
emsg(sess, ERRMSG "unable to copy configuration, err %d: %s\n",
|
||||
rc, sr_strerror(rc));
|
||||
}
|
||||
rc = sr_disconnect(conn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user