For some reason, sometimes $stderr.puts err.full_message hangs. And I mean the word used, it hangs. It doesn't raise an error. This is annoying because you end up with a 100% CPU instead of logging the error you're meaning to handle.
This PR wraps the error printing into timeouts so that they print and stop hanging.
For some reason, sometimes $stderr.puts err.full_message hangs. And I mean the word used, it hangs. It doesn't raise an error. This is annoying because you end up with a 100% CPU instead of logging the error you're meaning to handle.
This PR wraps the error printing into timeouts so that they print and stop hanging.
Super ironic.
Fixes #622