Skip to content

Commit

Permalink
enable sentry on staging and review environments (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
alkesh authored Jan 2, 2025
1 parent c6a0644 commit f718742
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
@@ -1,7 +1,7 @@
# frozen_string_literal: true

Sentry.init do |config|
config.enabled_environments = %w[production sandbox]
config.enabled_environments = %w[production sandbox staging review]
config.dsn = config.enabled_environments.include?(Rails.env) ? ENV["SENTRY_DSN"] : "disabled"
config.breadcrumbs_logger = %i[active_support_logger http_logger]
config.release = ENV["GIT_COMMIT_SHA"]
Expand Down

0 comments on commit f718742

Please sign in to comment.