kenpratt/erlbrake — pull request #10 by betawaffle (2012-07-17 19:45:36+00:00)
Title: Rewrite error_logger handler and clean up Airbrake API interface.

I've got a project that's been limping along with the existing implementation for a while now. I finally found some time to rewrite it!

Now it pulls out more useful information about the errors (thanks [lager]!), and does primitive rate-limiting, so that I don't miss anything. The rate-limiting is hard-coded at 60 per minute, but feel free to implement a more comprehensive solution.

Criticism welcome!

[lager]: https://github.com/basho/lager/blob/master/src/error_logger_lager_h.erl