bugsnag / bugsnag-node

[DEPRECATED] Please upgrade to our Universal JS notifier "@bugsnag/js" • https://github.com/bugsnag/bugsnag-js
https://www.bugsnag.com/
MIT License
48 stars 55 forks source link

Allow release stage ENV #122

Closed ashleym1972 closed 6 years ago

ashleym1972 commented 6 years ago

Currently the release stage is not different from the NODE_ENV. It really should be.

bengourley commented 6 years ago

Hi @ashleym1972, what's the motivation behind this? It's already possible to set the releaseStage using the option:

bugsnag.register("your-api-key-here", { releaseStage: "development" })

And only if this option isn't set do we infer the value from the NODE_ENV env variable.

bengourley commented 6 years ago

Closing due to inactivity. Let us know if this is causing you an issue.