about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorabcang <abcang1015@gmail.com>2017-07-10 20:59:29 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-10 13:59:29 +0200
commit617208053c2bf935d2dd3944bb2b9192a388f0b4 (patch)
tree7317fb4530f11663d33d606a7821b10ff26a394f /app/services
parent4aa6cd66fce2940b1a26859de942fc5ec7ea4127 (diff)
Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)
Diffstat (limited to 'app/services')
-rw-r--r--app/services/fetch_remote_status_service.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/services/fetch_remote_status_service.rb b/app/services/fetch_remote_status_service.rb
index f414813ad..4cfd33d90 100644
--- a/app/services/fetch_remote_status_service.rb
+++ b/app/services/fetch_remote_status_service.rb
@@ -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)