0
0
Fork 0

Fix public channel

This commit is contained in:
Eugen Rochko 2016-10-23 11:56:04 +02:00
parent a9e40a3d80
commit abb8f5837e
5 changed files with 49 additions and 45 deletions

View file

@ -19,7 +19,7 @@ class FetchRemoteAccountService < BaseService
Rails.logger.debug "Going to webfinger #{username}@#{domain}"
return FollowRemoteAccountService.new.call("#{username}@#{domain}")
rescue TypeError => e
rescue TypeError
Rails.logger.debug "Unparseable URL given: #{url}"
nil
rescue Nokogiri::XML::XPath::SyntaxError