module Sentry::Rails::InstrumentPayloadCleanupHelper
def cleanup_data(data)
def cleanup_data(data) IGNORED_DATA_TYPES.each do |key| data.delete(key) if data.key?(key) end end
def cleanup_data(data) IGNORED_DATA_TYPES.each do |key| data.delete(key) if data.key?(key) end end