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-api-0.1.14 config/initializers/sentry.rb
eivo-rails-0.1.12 config/initializers/sentry.rb
eivo-rails-api-0.1.13 config/initializers/sentry.rb
eivo-rails-api-0.1.12 config/initializers/sentry.rb
eivo-rails-0.1.11 config/initializers/sentry.rb
eivo-rails-api-0.1.11 config/initializers/sentry.rb
eivo-rails-api-0.1.10 config/initializers/sentry.rb
eivo-rails-0.1.10 config/initializers/sentry.rb
eivo-rails-api-0.1.9 config/initializers/sentry.rb
eivo-rails-api-0.1.8 config/initializers/sentry.rb
eivo-rails-0.1.9 config/initializers/sentry.rb
eivo-rails-0.1.8 config/initializers/sentry.rb
eivo-rails-api-0.1.7 config/initializers/sentry.rb
eivo-rails-0.1.7 config/initializers/sentry.rb
eivo-rails-api-0.1.6 config/initializers/sentry.rb
eivo-rails-0.1.6 config/initializers/sentry.rb
eivo-rails-api-0.1.5 config/initializers/sentry.rb
eivo-rails-api-0.1.4 config/initializers/sentry.rb
eivo-rails-0.1.5 config/initializers/sentry.rb
eivo-rails-api-0.1.3 config/initializers/sentry.rb