Mercurial > pidgin
changeset 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 | 139aa186e8cc |
children | cb28babdf3fe |
files | libpurple/protocols/jabber/jabber.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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; }