Airbrake has filters for production environments, but the notice.context.environmentmust be set to "production" (case independent) for these notification filters to work.
This PR does a few things:
notice.context.environment is set using the :context_environment config option.
The option used to be called :environment, but this is ambiguous.
:environment is now an alias for :context_environment.
:production_aliases is a new config options.
Set to a list of strings.
If the context environment is in this list of strings, notice.context.environment is set to "production".
This is not getting a release because another change is coming very soon.
Airbrake has filters for production environments, but the
notice.context.environment
must be set to"production"
(case independent) for these notification filters to work.This PR does a few things:
notice.context.environment
is set using the:context_environment
config option.:environment
, but this is ambiguous.:environment
is now an alias for:context_environment
.:production_aliases
is a new config options.notice.context.environment
is set to"production"
.This is not getting a release because another change is coming very soon.