mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Oneboxes shouldn't explode when the remote causes an HTTPError
This commit is contained in:
parent
921c3f016f
commit
702fbcdfa8
1 changed files with 4 additions and 2 deletions
|
@ -50,6 +50,8 @@ module Oneboxer
|
|||
end
|
||||
end
|
||||
|
||||
nil
|
||||
rescue OpenURI::HTTPError
|
||||
nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue