mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 19:22:15 -05:00
throw security exception instead of going to next srv entry
This commit is contained in:
parent
da298cfe59
commit
3e9fd0185a
@ -306,8 +306,10 @@ public class XmppConnection implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
if(startXmpp())
|
||||
if (startXmpp())
|
||||
break; // successfully connected to server that speaks xmpp
|
||||
} catch(final SecurityException e) {
|
||||
throw e;
|
||||
} catch (final Throwable e) {
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid().toString() + ": " + e.getMessage() +"("+e.getClass().getName()+")");
|
||||
if (!iterator.hasNext()) {
|
||||
|
Loading…
Reference in New Issue
Block a user