Sha256: 90f83ecc942201ecd1d70b44cbac625417dca209415e6ee65abcdefc47108658
Contents?: true
Size: 485 Bytes
Versions: 53
Compression:
Stored size: 485 Bytes
Contents
module Raven # This class gets rid of the user folder, as we don't want to share the username class Processor class CleanStackTrace < Processor 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 end end end
Version data entries
53 entries across 53 versions & 1 rubygems