From a442d30d05be96b0baa0f5e582e02e6f81818cb9 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Wed, 2 Nov 2022 01:32:42 -0400 Subject: [PATCH] return nil on reddit failures --- internal/worker/trending.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/worker/trending.go b/internal/worker/trending.go index e6e20e7..64da306 100644 --- a/internal/worker/trending.go +++ b/internal/worker/trending.go @@ -114,7 +114,7 @@ func (tw *trendingWorker) Process(ctx context.Context, args ...interface{}) erro zap.Int64("subreddit#id", id), zap.String("subreddit#name", subreddit.NormalizedName()), ) - return err + return nil } tw.logger.Debug("loaded weeks's top posts",