Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
URenko committed Aug 3, 2024
1 parent 9789b3a commit bc5fa70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/webdav/webdav.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,9 @@ func (h *Handler) handlePropfind(w http.ResponseWriter, r *http.Request) (status
fi, err := fs.Get(ctx, reqPath, &fs.GetArgs{})
if err != nil {
if errs.IsNotFoundError(err) {
fmt.Println("koko")
fmt.Println(err)
fmt.Println("dayo")
return http.StatusNotFound, err
}
return http.StatusMethodNotAllowed, err
Expand Down

0 comments on commit bc5fa70

Please sign in to comment.