Exception: StandardError
Direct Known Subclasses
Constant Summary collapse
- MAX_BACKTRACE_LINES =
20
Instance Method Summary collapse
Instance Method Details
#report ⇒ Object
6 7 8 9 |
# File 'card/lib/card/error.rb', line 6 def report Rails.logger.info "exception = #{self.class}: #{}" Rails.logger.debug backtrace[0..MAX_BACKTRACE_LINES].join("\n") end |