[core] log status code when queue event failure

This commit is contained in:
Seven Du 2019-11-14 12:34:57 +08:00 committed by Andrey Volk
parent c65cb486d6
commit 5df8bfcd84
1 changed files with 1 additions and 1 deletions

View File

@ -3069,7 +3069,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_channel_broadcast(const char *event
cJSON_Delete(ecd->json);
ecd->json = NULL;
destroy_ecd(&ecd);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Event Channel Queue failure for channel %s\n", event_channel);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Event Channel Queue failure for channel %s, status = %d\n", event_channel, status);
} else {
ecd = NULL;
}