From ca4e787e3596a3fed05221b18c990e9d9d262438 Mon Sep 17 00:00:00 2001 From: Sam Vevang Date: Mon, 4 Nov 2024 12:29:55 -0600 Subject: [PATCH] Fixup merge --- app/jobs/publish_feed_job.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/jobs/publish_feed_job.rb b/app/jobs/publish_feed_job.rb index b2d585e28..2703864a3 100644 --- a/app/jobs/publish_feed_job.rb +++ b/app/jobs/publish_feed_job.rb @@ -26,15 +26,6 @@ def perform(podcast, pub_item) PublishingPipelineState.settle_remaining!(podcast) end - def handle_error(podcast, error) - PublishingPipelineState.error!(podcast) - # Two error log lines here. - # 1) the error message and backtrace: - Rails.logger.error("Error publishing podcast", {podcast_id: podcast.id, error: error.message, backtrace: error&.backtrace&.join("\n")}) - # 2) The second is from the job handler, which logs an error when this excetion is raised: - raise error - end - def publish_apple(podcast, feed) return unless feed.publish_to_apple?