Return correct error when PutObject fails

master
Remco Verhoef 8 years ago committed by Harshavardhana
parent de5374f74c
commit 6dbc5aba09
  1. 1
      cmd/gateway-handlers.go

@ -285,6 +285,7 @@ func (api gatewayAPIHandlers) PutObjectHandler(w http.ResponseWriter, r *http.Re
}
if err != nil {
errorIf(err, "Unable to save an object %s", r.URL.Path)
writeErrorResponse(w, toAPIErrorCode(err), r.URL)
return
}

Loading…
Cancel
Save