Commit 5c9cd1db authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Catched more IOExceptions to print them in DEBUG.

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2931 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5581b6c0
......@@ -28,9 +28,7 @@ import org.xmpp.packet.JID;
import org.xmpp.packet.StreamError;
import java.io.*;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.net.*;
import java.util.concurrent.TimeUnit;
/**
......@@ -184,7 +182,7 @@ class ServerDialback {
connection.close();
}
}
catch (UnknownHostException e) {
catch (IOException e) {
Log.debug("Error connecting to the remote server: " + hostname + "(DNS lookup: " +
realHostname + ":" + realPort + ")", e);
// Close the connection
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment