Skip to content

Commit

Permalink
add reporting environment to sentry raven config
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed May 10, 2024
1 parent c99fae4 commit bbaf8e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

Raven.configure do |config|
config.environments = %w(stage production)
config.dsn = ENV["SENTRY_DSN"]
config.release = "sashimi:" + Sashimi::Application::VERSION
config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)
Expand Down

0 comments on commit bbaf8e3

Please sign in to comment.