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)