lib/raven/processor/sanitizedata.rb in sentry-raven-2.1.4 vs lib/raven/processor/sanitizedata.rb in sentry-raven-2.2.0

- old
+ new

@@ -13,9 +13,10 @@ self.sanitize_fields = client.configuration.sanitize_fields self.sanitize_credit_cards = client.configuration.sanitize_credit_cards end def process(value) + return value if value.frozen? value.each_with_object(value) { |(k, v), memo| memo[k] = sanitize(k, v) } end def sanitize(k, v) if v.is_a?(Hash)