0
0
Fork 0

Catching more exceptions that slipped through, removing AR logging from

production as it's very verbose and not very useful
This commit is contained in:
Eugen Rochko 2016-10-05 13:26:44 +02:00
parent b078885414
commit fe77921e47
7 changed files with 29 additions and 6 deletions

View file

@ -31,5 +31,8 @@ class FetchRemoteStatusService < BaseService
Rails.logger.debug "Going to webfinger #{username}@#{domain}"
return FollowRemoteAccountService.new.call("#{username}@#{domain}")
rescue Nokogiri::XML::XPath::SyntaxError
Rails.logger.debug "Invalid XML or missing namespace"
end
end
end