Skip to content
This repository

Log exception on endpoint failure #70

Closed
nevir opened this Issue March 12, 2012 · 4 comments

4 participants

Ian MacLeod Hrvoje Simic Harry Marr Tom Blomfield
Ian MacLeod
nevir commented March 12, 2012

When hitting the failure conditional, all I get is something like:

[2012-03-12 15:35:31] ERROR:  ** [Airbrake] Failure: Net::HTTPBadGateway
[2012-03-12 15:35:31]  INFO:  ** [Airbrake] Environment Info: [Ruby: 1.9.3] [Rails: 3.1.4] [Env: staging]
[2012-03-12 15:35:31]  INFO:  ** [Airbrake] Response from Airbrake: 
...

This should probably include the exception or notice that originally was supposed to be sent to airbrake so that we can debug causes of failure even when airbrake is down/unresponsive

Deleted user
ghost commented March 14, 2012

The content you are editing has changed. Reload the page and try again.

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Harry Marr
hmarr commented May 09, 2012

Even if you're improving your availability, there still may be cases when Airbrake isn't available. I'm currently hitting a timeout at this same point. No idea what's causing it. For these other cases it'd be much better to log the error rather than hiding it.

Hrvoje Simic
shime commented May 10, 2012

+1

fix on its way!

Hrvoje Simic shime closed this in 8e55c1f September 02, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.