Class: SolidErrors::Occurrence
- Defined in:
- app/models/solid_errors/occurrence.rb
Instance Method Summary collapse
-
#parsed_backtrace ⇒ Array<{:number, :file, :method => String}>
The parsed exception backtrace.
Instance Method Details
#parsed_backtrace ⇒ Array<{:number, :file, :method => String}>
The parsed exception backtrace. Lines in this backtrace that are from installed gems have the base path for gem installs replaced by “[GEM_ROOT]”, while those in the project have “[PROJECT_ROOT]”.
12 13 14 15 16 |
# File 'app/models/solid_errors/occurrence.rb', line 12 def parsed_backtrace return @parsed_backtrace if defined? @parsed_backtrace @parsed_backtrace = parse_backtrace(backtrace.split("\n")) end |