fixed a bug in DNS helper code. fixes #1130

iNPUTmice created

Change summary

src/main/java/eu/siacs/conversations/utils/DNSHelper.java     | 2 +-
src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java 🔗

@@ -204,7 +204,7 @@ public class XmppConnection implements Runnable {
 					&& "nosrv".equals(result.getString("error", null))) {
 				socket = new Socket(account.getServer().getDomainpart(), 5222);
 			} else {
-				throw new IOException("timeout in dns");
+				throw new IOException("unhandled exception in DNS resolver");
 			}
 			final OutputStream out = socket.getOutputStream();
 			tagWriter.setOutputStream(out);