Skip to content

Commit

Permalink
[codeforamerica#13] Don't monitor exceptions in development or test
Browse files Browse the repository at this point in the history
Only production and staging environments.
  • Loading branch information
hale committed Aug 24, 2013
1 parent 02d72f2 commit 032cf69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/rollbar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Without configuration, Rollbar is enabled by in all environments.
# To disable in specific environments, set config.enabled=false.
# Here we'll disable in 'test':
if Rails.env.test?
if Rails.env.test? || Rails.env.development?
config.enabled = false
end

Expand Down

0 comments on commit 032cf69

Please sign in to comment.