Browse Source

Fix links not being verified (#9673)

Fix #9365
pull/5/head
kodai 7 years ago committed by Eugen Rochko
parent
commit
6a090db4c9
  1. 1
      app/services/verify_link_service.rb

1
app/services/verify_link_service.rb

@ -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

Loading…
Cancel
Save