ctl-client: Use more descriptive response error message

wayvncctl-polishing
Andri Yngvason 2023-01-15 17:08:59 +00:00
parent e1378082c7
commit 69029d317f
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;