Method: Opbeat::ErrorMessage::Stacktrace.from
- Defined in:
- lib/opbeat/error_message/stacktrace.rb
.from(config, exception) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/opbeat/error_message/stacktrace.rb', line 11 def self.from config, exception return unless exception.backtrace new(config, exception.backtrace.reverse.map do |line| Frame.from_line config, line end) end |