Fix issues with __bad__

This commit is contained in:
Mukhtar Akere
2025-05-13 14:00:03 +01:00
parent 3b018b3571
commit 03a1d73825
4 changed files with 6 additions and 7 deletions

View File

@@ -269,7 +269,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
LockSystem: webdav.NewMemLS(),
Logger: func(r *http.Request, err error) {
if err != nil {
h.logger.Error().
h.logger.Trace().
Err(err).
Str("method", r.Method).
Str("path", r.URL.Path).