]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] log status code when queue event failure
authorSeven Du <dujinfang@gmail.com>
Thu, 14 Nov 2019 04:34:57 +0000 (12:34 +0800)
committerAndrey Volk <andywolk@gmail.com>
Mon, 30 Dec 2019 22:34:26 +0000 (02:34 +0400)
src/switch_event.c

index b1e02e570aa335e7aaa1c84e7b9ce49676fc907c..aa0ea7ee88d8afef36f1fdfc3b6dabb074ff4f0d 100644 (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;
        }