1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

eventually should only catch connection related errors, so I find syntax errors faster

This commit is contained in:
Wesley Beary 2009-11-14 16:55:49 -08:00
parent e8f6e7d6ce
commit 811b2bce01

View file

@ -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