Browse Source

Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)

pull/4/head
abcang 6 years ago
committed by Eugen Rochko
parent
commit
617208053c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/services/fetch_remote_status_service.rb

+ 3
- 0
app/services/fetch_remote_status_service.rb View File

@ -33,6 +33,9 @@ class FetchRemoteStatusService < 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
def confirmed_domain?(domain, account)

Loading…
Cancel
Save