Skip to content

Commit

Permalink
Fix ShareWorker retries failing
Browse files Browse the repository at this point in the history
  • Loading branch information
raccube committed Dec 25, 2021
1 parent 0f654a4 commit 3e7c6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/share_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def perform(user_id, answer_id, service)

user_service.post(Answer.find(answer_id))
rescue => e
logger.info "failed to post answer #{answer_id} to #{service.provider} for user #{user_id}: #{e.message}"
logger.info "failed to post answer #{answer_id} to #{service} for user #{user_id}: #{e.message}"
NewRelic::Agent.notice_error(e)
raise
end
Expand Down

0 comments on commit 3e7c6d8

Please sign in to comment.