mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
consensus: bring back log.Error statement (#4899)
Refs #3406 cs.Logger is protected by a global mutex, so it cannot be a reason for the halt in #3401.
This commit is contained in:
@@ -734,11 +734,9 @@ func (cs *State) handleMsg(mi msgInfo) {
|
||||
return
|
||||
}
|
||||
|
||||
if err != nil { // nolint:staticcheck
|
||||
// Causes TestReactorValidatorSetChanges to timeout
|
||||
// https://github.com/tendermint/tendermint/issues/3406
|
||||
// cs.Logger.Error("Error with msg", "height", cs.Height, "round", cs.Round,
|
||||
// "peer", peerID, "err", err, "msg", msg)
|
||||
if err != nil {
|
||||
cs.Logger.Error("Error with msg", "height", cs.Height, "round", cs.Round,
|
||||
"peer", peerID, "err", err, "msg", msg)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user