# frozen_string_literal: true

Raven.configure do |config|
  config.dsn = ENV['SENTRY_DSN']
  config.environments = %w[production staging]

  config.sanitize_fields =
    Rails.application.config.filter_parameters.map(&:to_s)
end

# frozen_string_literal: true

Raven.configure do |config|
  config.dsn = ENV['SENTRY_DSN']
  config.environments = %w[production staging]

  config.sanitize_fields =
    Rails.application.config.filter_parameters.map(&:to_s)

  config.processors -= [Raven::Processor::PostData]
end

Include POST data with Sentry reports
Include POST data with Sentry reports

No data POSTed to ETEngine contains user information, and is required to
accurately reproduce errors which occur during scenario updates.
