Skip to content

Commit

Permalink
Merge pull request #182 from datacite/add-sentry-environments
Browse files Browse the repository at this point in the history
add reporting environment to sentry raven config
wendelfabianchinsamy authored May 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents c99fae4 + bbaf8e3 commit e981db7
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)

0 comments on commit e981db7

Please sign in to comment.