deal with broken frameworks

This commit is contained in:
Daniel Gultsch 2015-08-16 14:55:40 +02:00
parent d7b3060fc8
commit 5b1dda9148
1 changed files with 1 additions and 4 deletions

View File

@ -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++;
}