Class: Raven::Processor::RemoveStacktrace
- Inherits:
-
Raven::Processor
- Object
- Raven::Processor
- Raven::Processor::RemoveStacktrace
- Defined in:
- lib/raven/processor/removestacktrace.rb
Instance Method Summary collapse
Methods inherited from Raven::Processor
Constructor Details
This class inherits a constructor from Raven::Processor
Instance Method Details
#process(value) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/raven/processor/removestacktrace.rb', line 4 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 |