adhearsion / adhearsion-reporter

MIT License
1 stars 9 forks source link

Allow reporting of custom envs to airbrake #17

Closed garettarrowood closed 7 years ago

garettarrowood commented 7 years ago

Adhearsion does not properly support custom environments other than the four hard-coded ones (test, development, staging, production). This means that adhearsion-reporter cannot correctly report the devtbX environment names to Airbrake. In order to avoid having to make complex changes to Adhearsion, we'll simply permit an arbitrary override, Reporter.config.environment

Reference: https://github.com/adhearsion/adhearsion/issues/442

garettarrowood commented 7 years ago

Travis passing for Ruby 2.2.2.

screen shot 2017-06-16 at 11 32 23 am