File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,27 @@ this rake task (from RAILS_ROOT):
128
128
If everything is configured properly, that task will send a notice to Honeybadger
129
129
which will be visible immediately.
130
130
131
+ ## Ignored environments
132
+
133
+ Please note that in development mode, Honeybadger will ** not** be
134
+ notified of exceptions that occur, except when running the test rake
135
+ task. The following environments are ignored by default: * development* ,
136
+ * test* , and * cucumber* . You can modify which environments are ignored by
137
+ setting the ` development_environments ` option in your Honeybadger
138
+ initializer:
139
+
140
+ Honeybadger.configure do |config|
141
+ ...
142
+ # To add an additional environment to be ignored:
143
+ config.development_environments << 'staging'
144
+
145
+ # To override the default environments completely:
146
+ config.development_environments = ['test', 'cucumber']
147
+ end
148
+
149
+ If you choose to override the ` development_environments ` option for
150
+ whatever reason, please make sure your test environments are ignored.
151
+
131
152
## Sending custom data
132
153
133
154
Honeybadger allows you to send custom data using ` Honeybadger.context ` .
You can’t perform that action at this time.
0 commit comments