Skip to content

Log exception on endpoint failure #70

nevir opened this Issue Mar 12, 2012 · 4 comments

4 participants

nevir commented Mar 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

ghost commented Mar 14, 2012
hmarr commented May 9, 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.

shime commented May 10, 2012


fix on its way!

@shime shime was assigned May 10, 2012
@shime shime added a commit that closed this issue Sep 2, 2012
@shime shime print the failed notice details
fixes #70
@shime shime closed this in 8e55c1f Sep 2, 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.