From: zdennis Date: 2005-11-18T11:56:29+09:00 Subject: Re: Question about begin, rescue, end. Harold Hausman wrote: > > .... Right, so, isin't begin, rescue, end supposed to stop exactly this > from happening? Or chances are, I've misunderstood. > 'rescue' by itself catches StandardError exceptions and subclasses of StandardError. The Timeout::Error is probably not a StandardError, but probably a subclass of Exception. You can will want to specfically catch Timeout::Error or Exception .... begin ... rescue Timeout::Error => ex # or rescue Exception => ex ... end HTH, Zach