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:
parent
e8f6e7d6ce
commit
811b2bce01
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue