Class: Raven::Processor::RemoveStacktrace

Inherits:
Raven::Processor show all
Defined in:
lib/raven/processor/removestacktrace.rb

Constant Summary

Constants inherited from Raven::Processor

INT_MASK, REGEX_SPECIAL_CHARACTERS, STRING_MASK

Instance Method Summary collapse

Methods inherited from Raven::Processor

#initialize

Constructor Details

This class inherits a constructor from Raven::Processor

Instance Method Details

#process(data) ⇒ Object


3
4
5
6
7
8
# File 'lib/raven/processor/removestacktrace.rb', line 3

def process(data)
  process_if_symbol_keys(data) if data[:exception]
  process_if_string_keys(data) if data["exception"]

  data
end