diff --git a/cmd/solana_exporter/slots.go b/cmd/solana_exporter/slots.go index 2c52244..370e1c9 100644 --- a/cmd/solana_exporter/slots.go +++ b/cmd/solana_exporter/slots.go @@ -281,7 +281,7 @@ func (c *SlotWatcher) fetchAndEmitInflationRewards(ctx context.Context, epoch in ctx, c.inflationRewardAddresses, rpc.CommitmentFinalized, &epoch, nil, ) if err != nil { - return err + return fmt.Errorf("error fetching inflation rewards: %w", err) } for i, rewardInfo := range rewardInfos {