diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-08-13 18:21:54 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-08-13 18:21:54 -0700 |
| commit | f7c1a15ad10dd48f4cd7042bded13cbe67bfb83d (patch) | |
| tree | d055d79d761325cbd398517e603a9805bff0476d /go | |
| parent | e45c6b5e21d7aca626982ae1967816c4b9dc6854 (diff) | |
| download | seaweedfs-f7c1a15ad10dd48f4cd7042bded13cbe67bfb83d.tar.xz seaweedfs-f7c1a15ad10dd48f4cd7042bded13cbe67bfb83d.zip | |
correctly print strings in error
Diffstat (limited to 'go')
| -rw-r--r-- | go/operation/upload_content.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 != "" { |
