Sha256: 0d213a67e4449f7ef6b2f53789eac15ef137d3e95f03a04ea9d576a13b9c0166

Contents?: true

Size: 305 Bytes

Versions: 20

Compression:

Stored size: 305 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

20 entries across 20 versions & 1 rubygems

Version Path
sentry-raven-2.3.0 lib/raven/processor/removestacktrace.rb
sentry-raven-2.2.0 lib/raven/processor/removestacktrace.rb
sentry-raven-2.1.4 lib/raven/processor/removestacktrace.rb
sentry-raven-2.1.3 lib/raven/processor/removestacktrace.rb
sentry-raven-2.1.2 lib/raven/processor/removestacktrace.rb
sentry-raven-2.1.1 lib/raven/processor/removestacktrace.rb
sentry-raven-2.1.0 lib/raven/processor/removestacktrace.rb
sentry-raven-2.0.2 lib/raven/processor/removestacktrace.rb
sentry-raven-2.0.1 lib/raven/processor/removestacktrace.rb
sentry-raven-2.0.0 lib/raven/processor/removestacktrace.rb
sentry-raven-1.2.3 lib/raven/processor/removestacktrace.rb
sentry-raven-1.2.2 lib/raven/processor/removestacktrace.rb
sentry-raven-1.2.1 lib/raven/processor/removestacktrace.rb
sentry-raven-1.2.0 lib/raven/processor/removestacktrace.rb
sentry-raven-1.1.0 lib/raven/processor/removestacktrace.rb
sentry-raven-1.0.0 lib/raven/processor/removestacktrace.rb
sentry-raven-0.15.6 lib/raven/processor/removestacktrace.rb
sentry-raven-0.15.5 lib/raven/processor/removestacktrace.rb
sentry-raven-0.15.4 lib/raven/processor/removestacktrace.rb
sentry-raven-0.15.3 lib/raven/processor/removestacktrace.rb