Split SalmonWorker into smaller parts, move profile updating into another job
This commit is contained in:
@ -7,7 +7,7 @@ class SalmonWorker
|
||||
|
||||
def perform(account_id, body)
|
||||
ProcessInteractionService.new.call(body, Account.find(account_id))
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
rescue Nokogiri::XML::XPath::SyntaxError, ActiveRecord::RecordNotFound
|
||||
true
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user