Skip to content

Commit

Permalink
Add log record about rollback action.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Aug 14, 2024
1 parent 460111a commit 1776171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -1937,6 +1937,7 @@ func (s *stateManager) rollbackToImpl(removalEdge proto.BlockID) error {
if err := s.loadLastBlock(); err != nil {
zap.S().Fatalf("Failed to load last block after rollback: %v", err)
}
zap.S().Infof("Rollback to block with ID '%s' completed", removalEdge.String())
return nil
}

Expand Down

0 comments on commit 1776171

Please sign in to comment.