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

[compute|aws] Fix NameError.

Exception handling seems to be been forgotten, when AWS moved in Fog::Compute namespace.
This commit is contained in:
Jens Braeuer 2011-09-09 16:50:04 +02:00
parent 8fab2e4790
commit d06ddbe7f3

View file

@ -139,7 +139,7 @@ module Fog
when 'ValidationError'
raise Fog::AWS::AutoScaling::ValidationError.slurp(error, match[2])
else
raise Fog::AWS::Compute::Error.slurp(error, "#{match[1]} => #{match[2]}")
raise Fog::Compute::AWS::Error.slurp(error, "#{match[1]} => #{match[2]}")
end
else
raise