discourse/discourse — pull request #186 by tms (2013-02-17 09:14:56+00:00)
Title: Oneboxes shouldn't explode when the remote causes an HTTPError

Catching the exception earlier on prevents the controller from returning a 500 to the client.

It might be nice to try and indicate the reason why a oneboxing failed in the future, especially for 404s, but I'll leave that for another day.