Skip to content

Commit

Permalink
feat: 🎸 test環境では Bugsnag を動かさない(development は一応維持) (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikukyugamer authored Jun 6, 2021
1 parent 8ccf1e4 commit 48e3380
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/initializers/bugsnag.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Bugsnag.configure do |config|
# TODO: 運用が落ち着いてきたら環境を絞る
if true | Rails.env.in?(['production', 'staging'])
if Rails.env.in?(['production', 'staging', 'development'])
config.api_key = ENV['BUGSNAG_API_KEY']
end
end

0 comments on commit 48e3380

Please sign in to comment.