From f7c1a15ad10dd48f4cd7042bded13cbe67bfb83d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 13 Aug 2013 18:21:54 -0700 Subject: [PATCH] correctly print strings in error --- go/operation/upload_content.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/operation/upload_content.go b/go/operation/upload_content.go index cb5ebc399..bed5e6239 100644 --- a/go/operation/upload_content.go +++ b/go/operation/upload_content.go @@ -62,7 +62,7 @@ func Upload(uploadUrl string, filename string, reader io.Reader, isGzipped bool, var ret UploadResult err = json.Unmarshal(resp_body, &ret) if err != nil { - glog.V(0).Infoln("failing to read upload resonse", uploadUrl, resp_body) + glog.V(0).Infoln("failing to read upload resonse", uploadUrl, string(resp_body)) return nil, err } if ret.Error != "" {