From 0c05841902e372b970f1649a72897ddb6fb0f669 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 26 Aug 2021 09:35:26 -0400 Subject: [PATCH] internal/consensus: update error log (#6863) (#6867) 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 58a6cfff9a3e370e1bb5eabfd86091e0b1186a22) Co-authored-by: Aleksandr Bezobchuk --- consensus/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/state.go b/consensus/state.go index dd19f9ab3..ac016c91a 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -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, ) } }