Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/jobs/publish_post_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def perform(*posts) # rubocop:disable Metrics/MethodLength

post.account.subscriptions.active.find_each do |subscription|
AccountMailer.new_post(post, subscription).deliver_now
rescue Exception => e # rubocop:disable Lint/RescueException
rescue StandardError => e
Rails.logger.error "Error sending post to #{subscription.email_address.email}: #{e}"
# For AWS SES bounces and complaints, we may want to add specific error handling later
end
Expand Down