Sha256: e9e40766cd4d530e2ce2f6bc47e940c5e2fdabfbe64fe0ee9a0f2514d8cec6cd

Contents?: true

Size: 307 Bytes

Versions: 8

Compression:

Stored size: 307 Bytes

Contents

module Raven
  class Processor::RemoveStacktrace < Processor

    def process(value)
      if value[:exception]
        value[:exception][:values].map do |single_exception|
          single_exception.delete(:stacktrace) if single_exception[:stacktrace]
        end
      end

      value
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sentry-raven-0.15.2 lib/raven/processor/removestacktrace.rb
sentry-raven-0.15.1 lib/raven/processor/removestacktrace.rb
sentry-raven-0.15.0 lib/raven/processor/removestacktrace.rb
sentry-raven-0.14.0 lib/raven/processor/removestacktrace.rb
sentry-raven-0.13.3 lib/raven/processor/removestacktrace.rb
sentry-raven-0.13.2 lib/raven/processor/removestacktrace.rb
sentry-raven-0.13.1 lib/raven/processor/removestacktrace.rb
sentry-raven-0.13.0 lib/raven/processor/removestacktrace.rb