Browse Source

fix wrong error printing that caused panic

pull/10/head
Chris Lu 11 years ago
parent
commit
a3fb644d86
  1. 2
      go/weed/weed_server/filer_server_handlers.go

2
go/weed/weed_server/filer_server_handlers.go

@ -147,7 +147,7 @@ func (fs *FilerServer) PostHandler(w http.ResponseWriter, r *http.Request) {
return
}
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))
return
}

Loading…
Cancel
Save