Skip to content

Commit

Permalink
hotfix(sentry): Use fallback for version number (#2221)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet authored Jun 27, 2024
1 parent 81c9018 commit 01299d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/sentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if ENV['SENTRY_DSN']
Sentry.init do |config|
config.dsn = ENV['SENTRY_DSN']
config.release = LAGO_VERSION.number
config.release = LagoUtils::Version.call(default: Rails.env).number
config.breadcrumbs_logger = %i[active_support_logger http_logger]
config.traces_sample_rate = 0
config.traces_sample_rate = ENV['SENTRY_TRACES_SAMPLE_RATE'].to_f || 0
Expand Down

0 comments on commit 01299d5

Please sign in to comment.