File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
#
10
10
# Configuration details:
11
11
# https://github.com/airbrake/airbrake-ruby#configuration
12
- if ( project_id = ENV [ 'AIRBRAKE_PROJECT_ID' ] ) &&
12
+ if ( project_id = ENV [ 'AIRBRAKE_PROJECT_ID' ] ) &&
13
13
project_key = ( ENV [ 'AIRBRAKE_PROJECT_KEY' ] || ENV [ 'AIRBRAKE_API_KEY' ] )
14
14
Airbrake . configure do |c |
15
15
# You must set both project_id & project_key. To find your project_id and
16
16
# project_key navigate to your project's General Settings and copy the
17
17
# values from the right sidebar.
18
18
# https://github.com/airbrake/airbrake-ruby#project_id--project_key
19
- c . project_id = project_id
19
+ c . project_id = project_id
20
20
c . project_key = project_key
21
21
22
22
# Configures the root directory of your project. Expects a String or a
43
43
# unwanted environments such as :test. NOTE: This option *does not* work if
44
44
# you don't set the 'environment' option.
45
45
# https://github.com/airbrake/airbrake-ruby#ignore_environments
46
- c . ignore_environments = %w[ test ]
46
+ c . ignore_environments = %w[ test staging development ]
47
47
48
48
# A list of parameters that should be filtered out of what is sent to
49
49
# Airbrake. By default, all "password" attributes will have their contents
You can’t perform that action at this time.
0 commit comments