Browse Source

backtrace disable TODO

main
pvincent 2 months ago
parent
commit
0b1d3acced
  1. 2
      lib/semantic/ansi_formatter.rb

2
lib/semantic/ansi_formatter.rb

@ -176,7 +176,7 @@ module Semantic
clazz = colorize("#{exc.class}\n", color_map[:fatal])
message = colorize(exc.message.chomp(''), color_map[:error])
backtrace = stackisize(Rails.backtrace_cleaner.clean(exc.backtrace))
backtrace = stackisize(Rails.backtrace_cleaner.clean(exc.backtrace)) # TODO: backtrace_cleaner might be optionally disable from HotConstant
"#{clazz}#{message}#{backtrace}"
end

Loading…
Cancel
Save