Logging.backtrace = true
# somewhere inside a controller
raise StandardError.new("errorz")
After some prying, the format_obj gets a string representation instead of the raw exception. I assume Rails processes the error before it reaches the logger. Anyone know of a workaround?