Skip to content

Commit

Permalink
Join the backtrace lines
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Jul 20, 2023
1 parent 1267e97 commit ff26fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/publish_feed_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +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})
Rails.logger.error("Error publishing podcast", {podcast_id: podcast.id, error: e.message, backtrace: e.backtrace.join("\n")})
raise e
ensure
PublishingPipelineState.settle_remaining!(podcast)
Expand Down

0 comments on commit ff26fa6

Please sign in to comment.