Skip to content

Commit

Permalink
fix: rclone sync exception
Browse files Browse the repository at this point in the history
  • Loading branch information
gmugu committed Nov 21, 2023
1 parent 8227339 commit 042df80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/webdav/webdav.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
status, err = h.handleUnlock(brw, r)
case "PROPFIND":
status, err = h.handlePropfind(brw, r)
// if there is a error for PROPFIND, we should be as an empty folder to the client
if err != nil {
status = http.StatusNotFound
}
// // if there is a error for PROPFIND, we should be as an empty folder to the client
// if err != nil {
// status = http.StatusNotFound
// }
case "PROPPATCH":
status, err = h.handleProppatch(brw, r)
}
Expand Down

0 comments on commit 042df80

Please sign in to comment.