mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix wrong error printing that caused panic
This commit is contained in:
parent
b8bef16c98
commit
a3fb644d86
|
@ -147,7 +147,7 @@ func (fs *FilerServer) PostHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if ret.Error != "" {
|
if ret.Error != "" {
|
||||||
glog.V(0).Infoln("failing to post to volume server", ra_err.Error())
|
glog.V(0).Infoln("failing to post to volume server", ret.Error)
|
||||||
writeJsonError(w, r, errors.New(ret.Error))
|
writeJsonError(w, r, errors.New(ret.Error))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue