Skip to content

Commit

Permalink
Pruning old states: Use a warning level log instead of fatal (#4707)
Browse files Browse the repository at this point in the history
* Use a warning level log instead of fatal
  • Loading branch information
prestonvanloon committed Feb 1, 2020
1 parent c2fbb40 commit 2a79c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/blockchain/service.go
Expand Up @@ -170,7 +170,7 @@ func (s *Service) Start() {

if finalizedCheckpoint.Epoch > 1 {
if err := s.pruneGarbageState(ctx, helpers.StartSlot(finalizedCheckpoint.Epoch)-params.BeaconConfig().SlotsPerEpoch); err != nil {
log.Fatalf("Could not prune garbaged state: %v", err)
log.WithError(err).Warn("Could not prune old states")
}
}

Expand Down

0 comments on commit 2a79c57

Please sign in to comment.