Raven.configure do |config|
  config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)
  config.environments = %w(staging production)
  config.excluded_exceptions += ['OpenSSL::SSL::SSLError']
end


Raven.configure do |config|
  config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)
  config.environments = %w(staging production)
  config.excluded_exceptions += ['OpenSSL::SSL::SSLError', 'Mastodon::UnexpectedResponseError', 'HTTP::TimeoutError', 'HTTP::ConnectionError']
end


Add frequent exceptions to excluded exceptions
Add frequent exceptions to excluded exceptions

Co-Authored-By: hieki <0be209aaf3c42870c0f050d1c2cc8d5026e3dbe2@gmail.com>