Rescue exceptions related to Goldfinger (#4044)

* Rescue exceptions related to Goldfinger

* Exclude Goldfinger::SSLError
th-downstream
abcang 7 years ago committed by Eugen Rochko
parent 420c4d8dc8
commit 7ee3ddac47

@ -32,5 +32,8 @@ class FetchRemoteAccountService < BaseService
rescue Nokogiri::XML::XPath::SyntaxError
Rails.logger.debug 'Invalid XML or missing namespace'
nil
rescue Goldfinger::NotFoundError, Goldfinger::Error
Rails.logger.debug 'Exceptions related to Goldfinger occurs'
nil
end
end

Loading…
Cancel
Save