diff --git a/packages/gossip/manager.go b/packages/gossip/manager.go index 8a8c1587e14acc098edcf0c31812f42a0bb0c49e..8c11efba42eec7b7628f6387d8e31a03094387f7 100644 --- a/packages/gossip/manager.go +++ b/packages/gossip/manager.go @@ -211,7 +211,10 @@ func (m *Manager) readLoop(nbr *neighbor) { m.log.Warnw("read error", "err", err) } - m.log.Debug("connection closed", "id", nbr.peer.ID(), "addr", nbr.conn.RemoteAddr().String()) + m.log.Debugw("connection closed", + "id", nbr.peer.ID(), + "addr", nbr.conn.RemoteAddr().String(), + ) _ = nbr.conn.Close() // just make sure that the connection is closed as fast as possible _ = m.DropNeighbor(nbr.peer.ID()) return