diff --git a/lib/fog/google/compute.rb b/lib/fog/google/compute.rb index 70ab252b9..24f376ae9 100644 --- a/lib/fog/google/compute.rb +++ b/lib/fog/google/compute.rb @@ -129,7 +129,7 @@ module Fog response.status = response.body["error"]["code"] response.body["error"]["errors"].each do |error| - throw Fog::Errors::Error.new(error["message"]) + raise Fog::Errors::Error.new(error["message"]) end else response.status = 200