Reputation: 486
I am using the Airbrake gem v 4.3.8 and so far, it is working well and sending notifications and emails without issue. Here is how my code is set up:
begin
# Do something crazy
rescue TypeError => e
Airbrake.notify(e)
end
I do know that you can edit the parameters, similar to how airbrake records parameters by default when you don't use the notify method. I am trying to find the correct syntax for editing the parameters of an Airbrake notification / log.
I have tried something similar to this: Airbrake.notify(e, parameters: {test: 'this is a test'})
but that didn't seem to work.
Upvotes: 1
Views: 467