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; ...@@ -28,9 +28,7 @@ import org.xmpp.packet.JID;
import org.xmpp.packet.StreamError; import org.xmpp.packet.StreamError;
import java.io.*; import java.io.*;
import java.net.InetSocketAddress; import java.net.*;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
/** /**
...@@ -184,7 +182,7 @@ class ServerDialback { ...@@ -184,7 +182,7 @@ class ServerDialback {
connection.close(); connection.close();
} }
} }
catch (UnknownHostException e) { catch (IOException e) {
Log.debug("Error connecting to the remote server: " + hostname + "(DNS lookup: " + Log.debug("Error connecting to the remote server: " + hostname + "(DNS lookup: " +
realHostname + ":" + realPort + ")", e); realHostname + ":" + realPort + ")", e);
// Close the connection // 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