Sha256: e370f16353f8d9b96dc033dc3e142ae2f96961990949f59cc14b9addaad084b3
Contents?: true
Size: 379 Bytes
Versions: 4
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true module Sentry module Rails module InstrumentPayloadCleanupHelper IGNORED_DATA_TYPES = [:request, :response, :headers, :exception, :exception_object, Tracing::START_TIMESTAMP_NAME] def cleanup_data(data) IGNORED_DATA_TYPES.each do |key| data.delete(key) if data.key?(key) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems