From f4631b7969d8c69d9046410a36fa46ce686e33f8 Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Wed, 3 Apr 2024 14:10:38 +1000 Subject: [PATCH] fix: Allow missing deposit snapshopts (#162) --- pkg/beacon/download.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/beacon/download.go b/pkg/beacon/download.go index 11bc24d..9af35de 100644 --- a/pkg/beacon/download.go +++ b/pkg/beacon/download.go @@ -326,7 +326,8 @@ func (d *Default) fetchBundle(ctx context.Context, root phase0.Root, upstream *N // Download and store deposit snapshots if err = d.downloadAndStoreDepositSnapshot(ctx, epoch, upstream); err != nil { - return nil, fmt.Errorf("failed to download and store deposit snapshot: %w", err) + d.log.WithError(err). + Warn("failed to download and store deposit snapshot") } }