Skip to content

Commit

Permalink
internal/consensus: update error log (#6863) (#6867)
Browse files Browse the repository at this point in the history
Issues reported in Osmosis, where the message is extremely long. Also, there is absolutely no reason to log the message IMO. If we must, we can make the message log DEBUG.

(cherry picked from commit 58a6cff)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
  • Loading branch information
mergify[bot] and alexanderbez committed Aug 26, 2021
1 parent 4023580 commit 0c05841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -866,8 +866,8 @@ func (cs *State) handleMsg(mi msgInfo) {
"height", cs.Height,
"round", cs.Round,
"peer", peerID,
"msg_type", fmt.Sprintf("%T", msg),
"err", err,
"msg", msg,
)
}
}
Expand Down

0 comments on commit 0c05841

Please sign in to comment.