mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
avoid logging a socket closed error when the connection has been shutdown
This commit is contained in:
parent
06ff0498d4
commit
fb25edb51c
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue