mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Rescue exceptions related to Goldfinger (#4044)
* Rescue exceptions related to Goldfinger * Exclude Goldfinger::SSLError
This commit is contained in:
@@ -32,5 +32,8 @@ class FetchRemoteAccountService < 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
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user