diff options
Diffstat (limited to 'app/models/media_attachment.rb')
-rw-r--r-- | app/models/media_attachment.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 55eabc226..a740792f2 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -20,6 +20,8 @@ class MediaAttachment < ApplicationRecord def file_remote_url=(url) self.file = URI.parse(url) + rescue OpenURI::HTTPError + # end def image? |