revert unwanted change

This commit is contained in:
Yasir Azgar
2023-11-04 19:35:53 +05:30
committed by yasir azgar
parent 866a1b4bcb
commit eb82accb79

View File

@@ -2,10 +2,5 @@ Bugsnag.configure do |config|
config.api_key = ENV['BUGSNAG_API_KEY']
config.release_stage = ENV['RAILS_ENV']
release_stages_to_notify = if ENV['RAILS_ENV'].in? %w(test development)
nil
else
Array[ENV['RAILS_ENV']]
end
config.notify_release_stages = release_stages_to_notify
config.notify_release_stages = %w(production staging)
end