From 1e3a6761789d32aa87bb1efc2e74b3e1a21ffe22 Mon Sep 17 00:00:00 2001 From: geemus Date: Thu, 16 Sep 2010 15:41:19 -0700 Subject: [PATCH] model went away should be a fog error --- lib/fog/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/model.rb b/lib/fog/model.rb index 41deb48c7..7eddb1196 100644 --- a/lib/fog/model.rb +++ b/lib/fog/model.rb @@ -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