Skip to content

Commit

Permalink
check errr
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarYuran committed Jan 23, 2025
1 parent 52ef352 commit ea30b22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/gateway/operations/listobjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ func handleListMultipartUploads(w http.ResponseWriter, req *http.Request, o *Rep
}
multiPart, err := o.MultipartTracker.Get(req.Context(), *upload.UploadId)
if err != nil {
fmt.Println("id: ", *upload.UploadId)
fmt.Println("err: ", err)
o.Log(req).WithError(err).Error("could not read multipart record")
_ = o.EncodeError(w, req, err, gatewayerrors.Codes.ToAPIErr(gatewayerrors.ErrInternalError))
Expand Down

0 comments on commit ea30b22

Please sign in to comment.