From 0fc43ef757aca32fe532daf81b3a509bb5ed3878 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 15 Jan 2023 17:08:59 +0000 Subject: [PATCH] ctl-client: Use more descriptive response error message --- src/ctl-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctl-client.c b/src/ctl-client.c index 6f090b2..6b58b8a 100644 --- a/src/ctl-client.c +++ b/src/ctl-client.c @@ -322,7 +322,7 @@ static struct jsonipc_response* ctl_client_wait_for_response(struct ctl_client* static void print_error(struct jsonipc_response* response, const char* method) { - printf("Error (%d)", response->code); + printf("ERROR: Failed to execute command: %s", method); if (!response->data) goto out;