Commit 7c64e5f0 authored by Tom Evans's avatar Tom Evans

OF-787: Ensure we have a viable s2s session

parent 50296e3d
...@@ -293,6 +293,8 @@ public class LocalOutgoingServerSession extends LocalSession implements Outgoing ...@@ -293,6 +293,8 @@ public class LocalOutgoingServerSession extends LocalSession implements Outgoing
catch (Exception e) { catch (Exception e) {
Log.warn("Error trying to connect to remote server: " + hostname + Log.warn("Error trying to connect to remote server: " + hostname +
"(DNS lookup: " + realHostname + ":" + realPort + ")", e); "(DNS lookup: " + realHostname + ":" + realPort + ")", e);
}
finally {
try { try {
if (socket != null) { if (socket != null) {
socket.close(); socket.close();
......
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