Method: EurekaBot::Controller#trace_error

Defined in:
lib/eureka_bot/controller.rb

#trace_error(e, params = {}) ⇒ Object



57
58
59
60
# File 'lib/eureka_bot/controller.rb', line 57

def trace_error(e, params={})
  logger.error(e.http_body) if e.respond_to?(:http_body)
  EurekaBot.exception_handler(e, self.class, params)
end