felixge/node-airbrake — pull request #14 by robscott (2012-04-04 18:52:18+00:00)
Title: Environment specific airbrake notifications

This pull request address issue #12. I've added a ````developmentEnviroments```` attribute that defaults to an empty array. In ````airbrake.notify````, if the current ````env```` is found in ````developmentEnviroments````, I use ````airbrake.log````, and then return a callback. I've written some basic tests, and all the preexisting ones are unchanged and passing.

The one thing I'm hesitant about here is having ````developmentEnviroments```` default to an empty array. I left it that way to be entirely backwards compatible, but it does feel strange not to have it include "development" and "test" by default.