lib/polyphony/extensions/exception.rb
# Sanitizes the backtrace by removing any frames occuring in Polyphony's code
# base.
#
# @param backtrace [Array<String>] unsanitized backtrace
# @return [Array<String>] sanitized backtrace
Sanitizes the backtrace by removing any frames occuring in Polyphony's code
base.
Sanitizes the backtrace by removing any frames occuring in Polyphony ' s code base .
def sanitize(backtrace)
    return backtrace if ::Exception.__disable_sanitized_backtrace__
    backtrace.reject { |l| l[POLYPHONY_DIR] }
  end
def sanitize ( backtrace ) return backtrace if :: Exception . __disable_sanitized_backtrace__ backtrace . reject { | l | l [ POLYPHONY_DIR ] } end
Sanitizes the backtrace by removing any frames occuring in Polyphony's code
base.
Sanitizes the backtrace by removing any frames occuring in Polyphony ' s code base .
None
Array<String>
backtrace
None