throw security exception instead of going to next srv entry
This commit is contained in:
parent
da298cfe59
commit
3e9fd0185a
|
@ -308,6 +308,8 @@ public class XmppConnection implements Runnable {
|
||||||
|
|
||||||
if (startXmpp())
|
if (startXmpp())
|
||||||
break; // successfully connected to server that speaks xmpp
|
break; // successfully connected to server that speaks xmpp
|
||||||
|
} catch(final SecurityException e) {
|
||||||
|
throw e;
|
||||||
} catch (final Throwable e) {
|
} catch (final Throwable e) {
|
||||||
Log.d(Config.LOGTAG, account.getJid().toBareJid().toString() + ": " + e.getMessage() +"("+e.getClass().getName()+")");
|
Log.d(Config.LOGTAG, account.getJid().toBareJid().toString() + ": " + e.getMessage() +"("+e.getClass().getName()+")");
|
||||||
if (!iterator.hasNext()) {
|
if (!iterator.hasNext()) {
|
||||||
|
|
Loading…
Reference in New Issue