From 5df8bfcd849a5ac2e692820457996479ebd9268c Mon Sep 17 00:00:00 2001 From: Seven Du Date: Thu, 14 Nov 2019 12:34:57 +0800 Subject: [PATCH] [core] log status code when queue event failure --- src/switch_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_event.c b/src/switch_event.c index b1e02e570a..aa0ea7ee88 100644 --- a/src/switch_event.c +++ b/src/switch_event.c @@ -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; }