Hacker News new | ask | show | jobs
by taf2 3097 days 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ā€)}ā€

1 comments

That code will still work, they are using the experimental feature only when the backtrace is printed to a tty.