Issues Switching from Airbrake to Raygun

padraig

Posted on
Aug 02 2014

Hello,

We are attempting to try out switching from Airbrake to Raygun following the documentation. We wanted to test it out in a development first before considering it for production.

However, when attempting to manually send an exception to Raygun, we are seeing the response being an internal server error.

Our airbrake configuration looks like:

Airbrake.configure do |config|
  config.api_key = 'apikeyfromraygun'
  config.host = 'api.raygun.io'
  config.secure = true
  config.development_environments = []
end

We tried sending some exceptions from the rails console like so:

irb(main):012:0> Airbrake.notify(ex)
=> nil
irb(main):013:0>

And the response we get is:

** [Airbrake] Failure: Net::HTTPInternalServerError
** [Airbrake] Environment Info: [Ruby: 1.9.3] [Rails: 3.2.18] [Env: development]
** [Airbrake] Response from Airbrake: Internal Server Error

Is there something we are doing wrong? Any suggestions?


martin308

Posted on
Aug 04 2014

Hi,

I have found an issue where our Airbrake conversion process didn't like not having the web request details which are missing when sending an error in this way from the console. This should be deployed in the next 24 hours. Thanks for reporting this!

Martin


Reply