2
0
Fork 0
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:
tms 2013-02-17 04:10:17 -05:00
parent 921c3f016f
commit 702fbcdfa8

View file

@ -50,6 +50,8 @@ module Oneboxer
end
end
nil
rescue OpenURI::HTTPError
nil
end