diff --git a/src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c b/src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c index 0f4f5f08ab..661a11e518 100644 --- a/src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c +++ b/src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c @@ -300,7 +300,7 @@ static void xmpp_connect(char *jabber_id, char *pass) case IKS_NET_NOCONN: switch_console_printf(SWITCH_CHANNEL_CONSOLE, "connection failed\n"); default: - switch_console_printf(SWITCH_CHANNEL_CONSOLE, "io error\n"); + switch_console_printf(SWITCH_CHANNEL_CONSOLE, "io error %d\n", e); switch_sleep(5000000); continue; }