mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 17:11:41 +08:00
Merge pull request #186 from tms/oneboxes-shouldnt-explode
Oneboxes shouldn't explode when the remote causes an HTTPError
This commit is contained in:
commit
bc1f8244e4
@ -50,6 +50,8 @@ module Oneboxer
|
||||
end
|
||||
end
|
||||
|
||||
nil
|
||||
rescue OpenURI::HTTPError
|
||||
nil
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user