Since Timeout::Error is not a subclass of StandardError, you’ll need to do something like this to catch the exception: rescue StandardError, Timeout::Error => e Not too much fun, but it cer… more →
jan on rubyJan Kubr wrote 7 months ago: Since Timeout::Error is not a subclass of StandardError, you’ll need to do something like this … more →