about summary refs log tree commit diff
path: root/app/workers/salmon_worker.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-05 21:41:50 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-05 21:43:10 +0200
commit5442083b3c44c731679fc489568bf7f70a807a39 (patch)
tree009c6f57e1707356fc2a78822bae7baf2321b405 /app/workers/salmon_worker.rb
parentbafbf63fcca81ae9dce3a40959b8a47e5fcfc6ac (diff)
Split SalmonWorker into smaller parts, move profile updating into another job
Diffstat (limited to 'app/workers/salmon_worker.rb')
-rw-r--r--app/workers/salmon_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/salmon_worker.rb b/app/workers/salmon_worker.rb
index fc95ce47f..d37d40432 100644
--- a/app/workers/salmon_worker.rb
+++ b/app/workers/salmon_worker.rb
@@ -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