diff --git a/cmd/swd/main.go b/cmd/swd/main.go index 1a2a56c..834a9d7 100644 --- a/cmd/swd/main.go +++ b/cmd/swd/main.go @@ -19,6 +19,11 @@ func main() { Config: config, }, LockSystem: webdav.NewMemLS(), + Logger: func(request *http.Request, err error) { + if err != nil { + log.Error(err) + } + }, } a := &app.App{