Skip to content

Commit

Permalink
Reduce log level of an error during Prune (#2141)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Oct 5, 2023
1 parent f57a676 commit 5189c39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vms/avm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,12 @@ func (vm *VM) Linearize(_ context.Context, stopVertexID ids.ID, toEngine chan<-
go func() {
err := vm.state.Prune(&vm.ctx.Lock, vm.ctx.Log)
if err != nil {
vm.ctx.Log.Error("state pruning failed",
vm.ctx.Log.Warn("state pruning failed",
zap.Error(err),
)
return
}
vm.ctx.Log.Info("state pruning finished")
}()

return nil
Expand Down

0 comments on commit 5189c39

Please sign in to comment.