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) { } catch(IOException e) {
log.error("Error opening socket inputstream", e); if(!closed) {
log.error("Error opening socket inputstream", e);
}
if(running) { if(running) {
lastException = e; lastException = e;
reading = false; reading = false;