deal with broken frameworks
This commit is contained in:
parent
d7b3060fc8
commit
5b1dda9148
|
@ -198,10 +198,7 @@ public class XmppConnection implements Runnable {
|
|||
socket = new Socket();
|
||||
socket.connect(addr, Config.SOCKET_TIMEOUT * 1000);
|
||||
socketError = false;
|
||||
} catch (final UnknownHostException e) {
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid().toString() + ": " + e.getMessage());
|
||||
i++;
|
||||
} catch (final IOException e) {
|
||||
} catch (final Throwable e) {
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid().toString() + ": " + e.getMessage());
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue