mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
revert unwanted change
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user