diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rb index 9904b05c989..ece08ced70b 100644 --- a/app/models/topic_embed.rb +++ b/app/models/topic_embed.rb @@ -91,7 +91,7 @@ class TopicEmbed < ActiveRecord::Base response = FetchResponse.new begin html = open(URI.encode(url), allow_redirections: :safe).read - rescue OpenURI::HTTPError + rescue OpenURI::HTTPError, Net::OpenTimeout return end