logging-rails icon indicating copy to clipboard operation
logging-rails copied to clipboard

Backtraces do not show up when errors are raised

Open ghempton opened this issue 10 years ago • 0 comments

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?

ghempton avatar May 20 '14 19:05 ghempton