Method: Deas::BaseLogging#log_error
- Defined in:
- lib/deas/logging.rb
#log_error(exception) ⇒ Object
51 52 53 54 55 |
# File 'lib/deas/logging.rb', line 51 def log_error(exception) return if !exception || exception.kind_of?(Sinatra::NotFound) log "#{exception.class}: #{exception.message}\n" \ "#{exception.backtrace.join("\n")}" end |