possible to use BacktraceCleaner?
dchersey opened this issue · comments
Is it possible to use ActiveSupport::Backtrace cleaner in conjunction to filter out gem and rails clutter from the backtrace?
Something like:
bc = ActiveSupport::BacktraceCleaner.new
bc.add_filter { | line | line.gsub(Rails.root.to_s, '' }
bc.add_silencer { | line | line =~ /vendor/ }
then to use stack explorer on a filtered backtrace (bc.clean)?
Closing in favor of #23, I'll check it out!