avoid logging a socket closed error when the connection has been shutdown

This commit is contained in:
Craig Raw 2022-11-16 13:05:48 +02:00
parent 06ff0498d4
commit fb25edb51c

View file

@ -195,7 +195,9 @@ public class TcpTransport implements CloseableTransport, TimeoutCounter {
}
}
} catch(IOException e) {
if(!closed) {
log.error("Error opening socket inputstream", e);
}
if(running) {
lastException = e;
reading = false;