Add deployed version to Bugsnag

This commit is contained in:
Maikel Linke
2025-02-11 13:32:51 +11:00
parent 710e1654d0
commit b50e711757

View File

@@ -1,6 +1,8 @@
Bugsnag.configure do |config|
config.api_key = ENV['BUGSNAG_API_KEY']
config.release_stage = Rails.env
config.app_version = Rails.application.config.x.git_version
# Avoid missing API key warning without changing the Rails log level.
if Rails.env.development?
config.logger = Logger.new(STDOUT)