Rescue exceptions related to Goldfinger (#4044)

* Rescue exceptions related to Goldfinger

* Exclude Goldfinger::SSLError
This commit is contained in:
abcang authored and Eugen Rochko committed 2017-07-09 17:33:21 +02:00
1 parent fc4c74660b
commit 307f3e0dd7
1 file changed
+3
@@ -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