mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 18:02:54 +01:00
Add more descriptive log message in P2PClient when we get disconnectd (#1514)
This commit is contained in:
parent
34255d8de7
commit
aaa750b23a
@ -168,8 +168,7 @@ case class P2PClientActor(
|
||||
|
||||
case closeCmd @ (Tcp.ConfirmedClosed | Tcp.Closed | Tcp.Aborted |
|
||||
Tcp.PeerClosed) =>
|
||||
logger.debug(s"Closed command received: ${closeCmd}")
|
||||
|
||||
logger.info(s"We've been disconnected by $peer command=${closeCmd}")
|
||||
//tell our peer message handler we are disconnecting
|
||||
val newPeerMsgRecv = currentPeerMsgHandlerRecv.disconnect()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user