Mercurial > pidgin
diff libpurple/protocols/jabber/jabber.c @ 28802:20f4bce8894d
jabber: Print a better error message when all connection methods fail.
datallah suggested going back to something like this (a few months ago)
and MattJ and a user just brought it up again.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 15 Dec 2009 00:14:33 +0000 |
parents | 0f7025534fc5 |
children | ddad759dc05b 356d1f40a56d 105437d8253f |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Mon Dec 14 06:50:33 2009 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Dec 15 00:14:33 2009 +0000 @@ -639,10 +639,11 @@ js->srv_query_data = NULL; if (responses == NULL) { + purple_debug_warning("jabber", "Unable to find alternative XMPP connection " + "methods after failing to connect directly."); purple_connection_error_reason(js->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, - _("Unable to find alternative XMPP connection " - "methods after failing to connect directly.")); + _("Unable to connect")); return; }