Skip to content

Commit

Permalink
Fixup merge
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Nov 4, 2024
1 parent f861862 commit ca4e787
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions app/jobs/publish_feed_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down

0 comments on commit ca4e787

Please sign in to comment.