17 ms·
Just need to rework all these e.backtrace.first lines to e.backtrace.last Or maybe my favorite which is still good puts “#{e.message} #{e.backtrace.join(“\n”
by taf2 9y ago
Just need to rework all these
e.backtrace.first lines to e.backtrace.last
Or maybe my favorite which is still good
puts “#{e.message} #{e.backtrace.join(“\n”)}”
- sampriti 9y agoThat code will still work, they are using the experimental feature only when the backtrace is printed to a tty.