mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-06-28 15:41:13 +08:00
fix error message
This commit is contained in:
parent
6f2d590617
commit
466a55b06d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user