Add error log handler

This commit is contained in:
Christian Claus 2018-04-18 15:46:06 +02:00
parent 785a6182bf
commit 98a6b5adda

View file

@ -19,6 +19,11 @@ func main() {
Config: config, Config: config,
}, },
LockSystem: webdav.NewMemLS(), LockSystem: webdav.NewMemLS(),
Logger: func(request *http.Request, err error) {
if err != nil {
log.Error(err)
}
},
} }
a := &app.App{ a := &app.App{