nodrew/php-airbrake — pull request #8 by serenecloud (2012-09-19 02:37:54+00:00)
Title: Adding the ability to add data to the parameters passed to Airbrake

Hi,

I only started with Airbrake today so I may be on the wrong track with this, but in our project we are sending emails from a queue and want to report when they fail to send.

We need to be able to see the email sent and the error returned so we can diagnose and fix, but I didn't see any way to put this data into the call to Airbrake without modifying the library. I've added the ability to supply extraParameters when you call $notice->load() and have them get to Airbrake in their own airbrake_extras parameter.

If I'm on the wrong track let me know and I can correct.

Cheers,
Ben