class StandardError
Constants
- MAX_BACKTRACE_LINES
Public Instance Methods
Source
# File lib/card/error.rb, line 5 def report Rails.logger.info "exception = #{self.class}: #{message}" Rails.logger.debug backtrace[0..MAX_BACKTRACE_LINES].join("\n") end