From 811b2bce015e96d4b645e81f1e5736a9546f0636 Mon Sep 17 00:00:00 2001 From: Wesley Beary Date: Sat, 14 Nov 2009 16:55:49 -0800 Subject: [PATCH] eventually should only catch connection related errors, so I find syntax errors faster --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 1f8e3cd53..05c51e8c2 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -74,7 +74,7 @@ def eventually(max_delay = 16, &block) sleep(delay) yield break - rescue => error + rescue Excon::Errors::Error => error raise error if delay >= max_delay end end