Fix ShareWorker retries failing

This commit is contained in:
Karina Kwiatek 2021-12-25 23:22:52 +01:00
parent 0f654a4d7d
commit 3e7c6d8d95
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class ShareWorker
user_service.post(Answer.find(answer_id)) user_service.post(Answer.find(answer_id))
rescue => e 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) NewRelic::Agent.notice_error(e)
raise raise
end end