1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/initializers/raven.rb

24 lines
769 B
Ruby
Raw Normal View History

2018-11-29 09:57:40 -05:00
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
Raven.configure do |config|
2018-12-10 08:04:46 -05:00
config.current_environment = Rails.env
2018-11-29 10:01:22 -05:00
config.dsn = Rails.application.credentials.raven_dsn
2018-12-10 08:04:25 -05:00
config.environments = %w[production]
config.excluded_exceptions = %w[
AbstractController::ActionNotFound
ActionController::InvalidAuthenticityToken
ActionController::RoutingError
ActionController::UnknownAction
ActiveRecord::RecordNotFound
CGI::Session::CookieStore::TamperedWithCookie
Mongoid::Errors::DocumentNotFound
Sinatra::NotFound
ActiveJob::DeserializationError
]
2018-12-10 08:08:50 -05:00
config.sample_rate = 1.0
2018-11-29 17:07:24 -05:00
config.sanitize_fields = Partynest::Application::FILTER_PARAMS.map(&:to_s)
2018-12-10 08:10:14 -05:00
config.silence_ready = false
2018-11-29 09:57:40 -05:00
end