Sha256: ef71979e713c754776fe585d49f004b3617c0081842ec0e71cb6ed2cc93fb20b

Contents?: true

Size: 400 Bytes

Versions: 7

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

require 'raven'

Raven.configure do |config|
  config.environments = %w[ staging production ]
  config.dsn = Rails.application.credentials.dig(:sentry, :dsn)
  config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)

  config.excluded_exceptions = [
    'ActionController::RoutingError',
    'ActionController::InvalidAuthenticityToken'
  ]
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
eivo-rails-0.0.4 config/initializers/sentry.rb
eivo-rails-api-0.0.7 config/initializers/sentry.rb
eivo-rails-api-0.0.6 config/initializers/sentry.rb
eivo-rails-0.0.3 config/initializers/sentry.rb
eivo-rails-api-0.0.5 config/initializers/sentry.rb
eivo-rails-api-0.0.4 config/initializers/sentry.rb
eivo-rails-0.0.2 config/initializers/sentry.rb