Fix links not being verified (#9673)

Fix #9365
lolsob-rspec
kodai 2018-12-31 23:29:10 +09:00 committed by Eugen Rochko
parent 99272005f0
commit 9648c59d6f
1 changed files with 0 additions and 1 deletions

View File

@ -10,7 +10,6 @@ class VerifyLinkService < BaseService
return unless link_back_present?
field.mark_verified!
field.account.save!
rescue HTTP::Error, Addressable::URI::InvalidURIError, Mastodon::HostValidationError, Mastodon::LengthValidationError => e
Rails.logger.debug "Error fetching link #{@url}: #{e}"
nil