From aeadb457a71f85b39cffd60dcea17f803e15035d Mon Sep 17 00:00:00 2001 From: tycho garen Date: Mon, 21 Mar 2022 11:54:00 -0400 Subject: [PATCH] wopm --- internal/consensus/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/consensus/state.go b/internal/consensus/state.go index 5fbb0fb00..1ec650ecd 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -909,7 +909,7 @@ func (cs *State) receiveRoutine(ctx context.Context, maxSteps int) { case mi := <-cs.internalMsgQueue: err := cs.wal.WriteSync(mi) // NOTE: fsync if err != nil { - panic(fmt.Sprintf( + panic(fmt.Errorf( "failed to write %v msg to consensus WAL due to %q; check your file system and restart the node", mi, err.Error(), ))