From 4189cf7325e54c2421c343490d31541f7ee12bd8 Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Thu, 20 Jun 2013 16:32:40 -0700 Subject: [PATCH] just the message. --- lib/fog/google/compute.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/google/compute.rb b/lib/fog/google/compute.rb index 973ce69c4..c3298c6cb 100644 --- a/lib/fog/google/compute.rb +++ b/lib/fog/google/compute.rb @@ -127,7 +127,7 @@ module Fog response.body["error"]["errors"].each do |error| # We could throw these I guess. - p Fog::Errors::Error.new(error) + p Fog::Errors::Error.new(error["message"]) end else response.status = 200