mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
This copies ofn-install's `roles/app/templates/bugsnag.rb.j2` to
`config/initializers/bugsnag.rb`. All tasks and templates
regarding Bugsnag can then be 🔥 from ofn-install.
As a result, it'll fix the issue that both Katuma and OFF are facing
where the `config/initializer/bugsnag.rb` symlink to
`shared/config/bugsnag.rb` does not exist thus, nothing gets notified to
Bugsnag since December 3rd (according to customer support).
6 lines
156 B
Ruby
6 lines
156 B
Ruby
Bugsnag.configure do |config|
|
|
config.api_key = ENV['BUGSNAG_API_KEY']
|
|
config.notify_release_stages = %w(production staging)
|
|
config.use_ssl = true
|
|
end
|