Skip to content

Commit

Permalink
Log the backtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Jul 20, 2023
1 parent 076f33a commit 009499d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/publish_feed_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 009499d

Please sign in to comment.