mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
model went away should be a fog error
This commit is contained in:
parent
22af45ed06
commit
1e3a676178
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module Fog
|
|||
def wait_for(timeout=600, interval=1, &block)
|
||||
reload
|
||||
Fog.wait_for(timeout, interval) do
|
||||
reload or raise StandardError.new("Reload failed, #{self.class} #{self.identity} went away.")
|
||||
reload or raise Fog::Errors::Error.new("Reload failed, #{self.class} #{self.identity} went away.")
|
||||
instance_eval(&block)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue