aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2014-03-12 10:25:05 -0700
committerChris Lu <chris.lu@gmail.com>2014-03-12 10:25:05 -0700
commit466a55b06d660c85673a0e9d1a8802e9f553f269 (patch)
tree975eea8a8f4cc1e5e34769740aa92bb0180d78fd
parent6f2d590617751bf467e861ab184794ee67b4b88b (diff)
downloadseaweedfs-466a55b06d660c85673a0e9d1a8802e9f553f269.tar.xz
seaweedfs-466a55b06d660c85673a0e9d1a8802e9f553f269.zip
fix error message
-rw-r--r--go/operation/upload_content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/operation/upload_content.go b/go/operation/upload_content.go
index ae4cf0cc3..17fe9e1c3 100644
--- a/go/operation/upload_content.go
+++ b/go/operation/upload_content.go
@@ -59,7 +59,7 @@ func upload_content(uploadUrl string, fillBufferFunction func(w io.Writer) error
}
resp, err := http.Post(uploadUrl, content_type, body_buf)
if err != nil {
- glog.V(0).Infoln("failing to upload to", uploadUrl)
+ glog.V(0).Infoln("failing to upload to", uploadUrl, err.Error())
return nil, err
}
defer resp.Body.Close()