mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 08:14:43 +00:00
avoid logging a socket closed error when the connection has been shutdown
This commit is contained in:
@@ -195,7 +195,9 @@ public class TcpTransport implements CloseableTransport, TimeoutCounter {
|
||||
}
|
||||
}
|
||||
} catch(IOException e) {
|
||||
log.error("Error opening socket inputstream", e);
|
||||
if(!closed) {
|
||||
log.error("Error opening socket inputstream", e);
|
||||
}
|
||||
if(running) {
|
||||
lastException = e;
|
||||
reading = false;
|
||||
|
||||
Reference in New Issue
Block a user