Improve web interface. ()

This commit is contained in:
Antonio Navarro Perez 2021-01-02 20:09:05 +01:00 committed by GitHub
parent 7c94e663d8
commit ae289e99dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
74 changed files with 2538 additions and 561 deletions
cmd/distribyted

View file

@ -127,7 +127,11 @@ func load(configPath string, port int, fuseAllowOther bool) error {
tryClose(c, mountService)
}()
return http.New(fc, ss, ch, port)
err = http.New(fc, ss, ch, port)
logrus.WithError(err).Error("error initializing HTTP server")
return err
}
func tryClose(c *t.Client, mountService *fuse.Handler) {