Commit 307f3e0d authored by abcang's avatar abcang Committed by Eugen Rochko

Rescue exceptions related to Goldfinger (#4044)

* Rescue exceptions related to Goldfinger

* Exclude Goldfinger::SSLError
parent fc4c7466
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment