Sha256: ea25599619917f8dcf049c2ab35e6a4f9998ce24533305c7d68704b458967fa0

Contents?: true

Size: 398 Bytes

Versions: 32

Compression:

Stored size: 398 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

32 entries across 32 versions & 2 rubygems

Version Path
eivo-rails-0.1.4 config/initializers/sentry.rb
eivo-rails-api-0.1.2 config/initializers/sentry.rb
eivo-rails-0.1.3 config/initializers/sentry.rb
eivo-rails-0.1.2 config/initializers/sentry.rb
eivo-rails-0.1.1 config/initializers/sentry.rb
eivo-rails-0.1.0 config/initializers/sentry.rb
eivo-rails-api-0.1.1 config/initializers/sentry.rb
eivo-rails-api-0.1.0 config/initializers/sentry.rb
eivo-rails-api-0.0.9 config/initializers/sentry.rb
eivo-rails-0.0.6 config/initializers/sentry.rb
eivo-rails-0.0.5 config/initializers/sentry.rb
eivo-rails-api-0.0.8 config/initializers/sentry.rb