Procházet zdrojové kódy

Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)

master
abcang před 6 roky
committed by Eugen Rochko
rodič
revize
617208053c
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. +3
    -0
      app/services/fetch_remote_status_service.rb

+ 3
- 0
app/services/fetch_remote_status_service.rb Zobrazit soubor

@@ -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)


Načítá se…
Zrušit
Uložit