Class: Raven::Processor::CleanStackTrace

Inherits:
Raven::Processor show all
Defined in:
lib/fastlane_core/crash_reporting/clean_stack_trace.rb

Instance Method Summary collapse

Instance Method Details

#process(value) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/fastlane_core/crash_reporting/clean_stack_trace.rb', line 5

def process(value)
  if value[:exception]
    value[:exception][:values].each do |single_exception|
      single_exception[:stacktrace][:frames].each do |current|
        current[:abs_path].gsub!(Dir.home, "~")
      end
    end
  end

  return value
end