Closed hatlord closed 5 years ago
Hi,
This traceback is unrelated to the tty-command
version but Ruby version. I've checked that this starts to be the case from Ruby 2.5.0
. Charles Nutter has submitted an issue to change Ruby behaviour to report errors in console when Thread terminates unexpectedly. In the past you needed to specify this behaviour explicility. I can see why this is a good thing since it provides a better transparency and prevents errors being swallowed by dying thread. However, I'm not sure what is the best solution in this case.
Released v0.8.2
with the fix.
Worked perfectly for me, many thanks!
Hi,
I noticed that in more recent versions of TTY-Command (0.8.0+), a timeout will output a traceback to the terminal. I have already rescued and display an error message of my own, what is the best way of suppressing the traceback? Example included below.
Thanks,