Skip to content

Commit

Permalink
gracefully log when pruning error (cosmos#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic authored Mar 7, 2024
1 parent 10406e3 commit 8b79e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ func (rs *Store) Commit() types.CommitID {
rs.removalMap = make(map[types.StoreKey]bool)

if err := rs.handlePruning(version); err != nil {
panic(err)
rs.logger.Info("pruning failed at height", version, "err", err)
}

return types.CommitID{
Expand Down

0 comments on commit 8b79e86

Please sign in to comment.