lib/generators/airbrake_initializer.rb.erb in airbrake-5.6.1 vs lib/generators/airbrake_initializer.rb.erb in airbrake-5.7.0.rc.1
- old
+ new
@@ -35,19 +35,17 @@
# https://github.com/airbrake/airbrake-ruby#logger
c.logger = Rails.logger
# Configures the environment the application is running in. Helps the Airbrake
# dashboard to distinguish between exceptions occurring in different
- # environments. By default, it's not set.
+ # environments.
# NOTE: This option must be set in order to make the 'ignore_environments'
# option work.
# https://github.com/airbrake/airbrake-ruby#environment
c.environment = Rails.env
# Setting this option allows Airbrake to filter exceptions occurring in
- # unwanted environments such as :test. By default, it is equal to an empty
- # Array, which means Airbrake Ruby sends exceptions occurring in all
- # environments.
+ # unwanted environments such as :test.
# NOTE: This option *does not* work if you don't set the 'environment' option.
# https://github.com/airbrake/airbrake-ruby#ignore_environments
c.ignore_environments = %w(test)
# A list of parameters that should be filtered out of what is sent to