Polishing

This commit is contained in:
Gary Russell
2018-02-23 15:51:34 -05:00
committed by Artem Bilan
parent 0e3034919d
commit 60606dd6fe

View File

@@ -163,7 +163,12 @@ public class TcpNetServerConnectionFactory extends AbstractServerConnectionFacto
catch (Exception e) {
this.logger.error("Failed to create and configure a TcpConnection for the new socket: "
+ socket.getInetAddress().getHostAddress() + ":" + socket.getPort(), e);
socket.close();
try {
socket.close();
}
catch (IOException e1) {
// empty
}
}
}
}