ctl-client: Use more descriptive response error message

srht-ci
Andri Yngvason 2023-01-15 17:08:59 +00:00
parent baea2e8f4c
commit 0fc43ef757
1 changed files with 1 additions and 1 deletions

View File

@ -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;