Fix ShareWorker retries failing
This commit is contained in:
parent
0f654a4d7d
commit
3e7c6d8d95
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue