class Ohnoes::FrontendFormatter

Public Instance Methods

add_exception_to_hash!() click to toggle source
# File lib/ohnoes/frontend_formatter.rb, line 5
def add_exception_to_hash!
  hash[:exception] = {
      :exception => exception.js_class,
      :message => exception.message,
      :backtrace => clean_backtrace(exception)
  }
end