Browse Source

mute log filer: no entry is found in filer store (#3707)

pull/3719/head
Konstantin Lebedev 2 years ago
committed by GitHub
parent
commit
5d87ad72d8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      weed/server/filer_server_handlers_write.go

2
weed/server/filer_server_handlers_write.go

@ -195,6 +195,8 @@ func (fs *FilerServer) DeleteHandler(w http.ResponseWriter, r *http.Request) {
httpStatus := http.StatusInternalServerError httpStatus := http.StatusInternalServerError
if err == filer_pb.ErrNotFound { if err == filer_pb.ErrNotFound {
httpStatus = http.StatusNoContent httpStatus = http.StatusNoContent
writeJsonQuiet(w, r, httpStatus, nil)
return
} }
writeJsonError(w, r, httpStatus, err) writeJsonError(w, r, httpStatus, err)
return return

Loading…
Cancel
Save