Module: Sentry::Rails::InstrumentPayloadCleanupHelper
- Defined in:
- lib/sentry/rails/instrument_payload_cleanup_helper.rb
Constant Summary collapse
- IGNORED_DATA_TYPES =
[:request, :response, :headers, :exception, :exception_object, Tracing::START_TIMESTAMP_NAME]
Instance Method Summary collapse
Instance Method Details
#cleanup_data(data) ⇒ Object
8 9 10 11 12 |
# File 'lib/sentry/rails/instrument_payload_cleanup_helper.rb', line 8 def cleanup_data(data) IGNORED_DATA_TYPES.each do |key| data.delete(key) if data.key?(key) end end |