Skip to content

Commit

Permalink
Add Sentry release info.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregschmit committed Apr 7, 2024
1 parent 405ff6e commit 8f36d1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
if defined?(Sentry) && dsn = Rails.application.credentials.sentry_dsn
Sentry.init do |config|
config.dsn = dsn
config.release = "rest_framework@#{RESTFramework::VERSION}"
config.breadcrumbs_logger = [:active_support_logger, :http_logger]

config.enable_tracing = true
Expand Down

0 comments on commit 8f36d1e

Please sign in to comment.