mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-25 08:13:24 +00:00
Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)
This commit is contained in:
parent
4aa6cd66fc
commit
617208053c
|
@ -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…
Reference in a new issue