[airbrake] Log exception on endpoint failure (#70)

Ian MacLeod's Avatar

Ian MacLeod

12 Mar, 2012 04:43 PM

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

Reply to this email directly or view it on GitHub:

  1. Support Staff 2 Posted by Stu on 14 Mar, 2012 07:40 PM

    Stu's Avatar

    Heya Ian,

    This is a known problem with the api.. Scaling issues on our end.. The good news is that we have a solution. We completely restructured the backend and our taking users onto our new system..


    Just let me know when you have switched your config vars and I'll transfer you over if this sounds good to you.

    My IM is stuartchaney22@gmail.com if you have any quick fire questions.



  2. 3 Posted by Harry Marr on 09 May, 2012 03:11 PM

    Harry Marr's Avatar

    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.

    Reply to this email directly or view it on GitHub:

  3. 4 Posted by Tom Blomfield on 09 May, 2012 03:21 PM

    Tom Blomfield's Avatar

    +1 @hmarr

    Reply to this email directly or view it on GitHub:

  4. Ben Arent closed this discussion on 10 May, 2012 05:22 AM.

  5. reply+i-3614424-3bd61f06d264c0ba52cb84c28d1ca2cca323839e-1440967 re-opened this discussion on 10 May, 2012 11:05 AM

  6. 5 Posted by reply+i-3614424-3bd61f06d264c0ba52cb84c28d1ca2cca323839e-1440967 on 10 May, 2012 11:05 AM

    reply+i-3614424-3bd61f06d264c0ba52cb84c28d1ca2cca323839e-1440967's Avatar


    fix on its way!

    Reply to this email directly or view it on GitHub:

  7. Morgan closed this discussion on 12 May, 2012 01:37 AM.

Re-open and reply to this closed discussion or start a new discussion →

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac