diff options
Diffstat (limited to 'ahl-policy/ahl-policy.c')
-rw-r--r-- | ahl-policy/ahl-policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ahl-policy/ahl-policy.c b/ahl-policy/ahl-policy.c index 90fe9f6..ade9117 100644 --- a/ahl-policy/ahl-policy.c +++ b/ahl-policy/ahl-policy.c @@ -228,7 +228,7 @@ static int PolicySetVolume(int iEndpointID, int iEndpointType, char *pHalApiName err = afb_service_call_sync(pHalApiName, "ctlset", j_query, &j_response); if (err) { - AFB_ERROR("Could not ctlset on HAL: %s with errorcode: %i",pHalApiName, err); + AFB_ERROR("Could not ctlset=%s on HAL: %s with errorcode: %i",json_object_to_json_string(j_query), pHalApiName, err); return POLICY_FAIL; } AFB_DEBUG("HAL ctlset response=%s", json_object_to_json_string(j_response)); @@ -290,7 +290,7 @@ static int PolicyGetVolume(int iEndpointID, int iEndpointType, char *pHalApiName err = afb_service_call_sync(pHalApiName, "ctlget", j_query, &j_response); if (err) { - AFB_WARNING("Could not ctlset on HAL: %s, errorcode: %i",pHalApiName, err); + AFB_WARNING("Could not ctlget=%s on HAL: %s, errorcode: %i",json_object_to_json_string(j_query),pHalApiName, err); return POLICY_FAIL; } AFB_DEBUG("HAL ctlget response=%s", json_object_to_json_string(j_response)); |