Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Commit

Permalink
[#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 9a8fed1 commit 2fb196b
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 2fb196b

Please sign in to comment.