Skip to content

Commit

Permalink
reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Jul 12, 2022
1 parent 0a81a71 commit 4220717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exporter/consensus/beacon/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (c *Container) checkForNewCurrentEpochAndSlot(ctx context.Context) error {
// So we'll just not bother checking in that case.
if time.Since(c.startedAt) > (c.spec.SecondsPerSlot * 2) {
if err := c.checkForEmptySlot(ctx, previousSlot); err != nil {
return err
c.log.WithError(err).Error("Failed to check for empty slot")
}
}
}
Expand Down

0 comments on commit 4220717

Please sign in to comment.