mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-25 23:34:14 +00:00
Rescue exceptions related to Goldfinger (#4044)
* Rescue exceptions related to Goldfinger * Exclude Goldfinger::SSLError
This commit is contained in:
parent
fc4c74660b
commit
307f3e0dd7
|
@ -32,5 +32,8 @@ class FetchRemoteAccountService < BaseService
|
||||||
rescue Nokogiri::XML::XPath::SyntaxError
|
rescue Nokogiri::XML::XPath::SyntaxError
|
||||||
Rails.logger.debug 'Invalid XML or missing namespace'
|
Rails.logger.debug 'Invalid XML or missing namespace'
|
||||||
nil
|
nil
|
||||||
|
rescue Goldfinger::NotFoundError, Goldfinger::Error
|
||||||
|
Rails.logger.debug 'Exceptions related to Goldfinger occurs'
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue