Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Log exception on endpoint failure #70

Closed
nevir opened this Issue · 4 comments

4 participants

@nevir

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
@hmarr

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

+1

fix on its way!

@shime shime was assigned
@shime shime closed this in 8e55c1f
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.