Log warn instead of return error (#5547)

* Fix 5395
This commit is contained in:
terence tsao 2020-04-20 14:32:56 -07:00 committed by GitHub
parent 7b89b17ed2
commit 982d93547a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ func (s *Service) rmStatesOlderThanLastFinalized(ctx context.Context, startSlot
}
if err := s.beaconDB.DeleteStates(ctx, roots); err != nil {
return err
log.Warnf("Could not delete states: %v", err)
}
return nil