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

26 lines
858 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-11 06:01:53 -05:00
config.async = RavenJob.method :perform_later
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
2019-10-14 23:27:32 -04:00
config.environments = %w[production staging]
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
config.ssl_verification = true
2018-11-29 09:57:40 -05:00
end