From 009499d1ee9afa253936552f826e75c0b17a5bd3 Mon Sep 17 00:00:00 2001 From: Sam Vevang Date: Thu, 20 Jul 2023 14:37:59 -0500 Subject: [PATCH] Log the backtrace --- app/jobs/publish_feed_job.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/jobs/publish_feed_job.rb b/app/jobs/publish_feed_job.rb index d1cfcd93d..83181e1de 100644 --- a/app/jobs/publish_feed_job.rb +++ b/app/jobs/publish_feed_job.rb @@ -13,6 +13,7 @@ def perform(podcast) PublishingPipelineState.complete!(podcast) rescue => e PublishingPipelineState.error!(podcast) + Rails.logger.error("Error publishing podcast", {podcast_id: podcast.id, error: e.message, backtrace: e.backtrace}) raise e ensure PublishingPipelineState.settle_remaining!(podcast)