aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/server.go
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-03-18 08:43:39 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:58 +0800
commit74c022a7679cb03a5ad027dc659e723638ff6a78 (patch)
treee7e2da6913d7a4e076e4fa4ade9bada6e01a0fcb /p2p/server.go
parent829d04922ade426eee1302753fe1bbf34abc11db (diff)
downloaddexon-74c022a7679cb03a5ad027dc659e723638ff6a78.tar.gz
dexon-74c022a7679cb03a5ad027dc659e723638ff6a78.tar.zst
dexon-74c022a7679cb03a5ad027dc659e723638ff6a78.zip
p2p, dex: add debug log (#269)
Diffstat (limited to 'p2p/server.go')
-rw-r--r--p2p/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/server.go b/p2p/server.go
index c1cf0f9fe..bfd991b1b 100644
--- a/p2p/server.go
+++ b/p2p/server.go
@@ -1087,6 +1087,7 @@ func (srv *Server) runPeer(p *Peer) {
Error: err.Error(),
})
+ p.Log().Debug("send peer drop", "req", remoteRequested, "err", err)
// Note: run waits for existing peers to be sent on srv.delpeer
// before returning, so this send should not select on srv.quit.
srv.delpeer <- peerDrop{p, err, remoteRequested}