logging-rails
logging-rails copied to clipboard
Backtraces do not show up when errors are raised
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?