From 6f088184e3ad907344dd4eb290bb4b96c68b9005 Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Tue, 2 Apr 2024 17:37:41 +1000 Subject: [PATCH] fix: Allow missing deposit snapshopts --- 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") } }