FIx error message

This commit is contained in:
Mihail Slobodyanuk 2022-12-14 14:36:14 +02:00
parent 8e7ea86b42
commit 70038e9943

View file

@ -287,7 +287,7 @@ func (a *AdminSocket) StartHttpServer(nc *config.NodeConfig) {
}
l, e := net.Listen("tcp4", u.Host)
if e != nil {
a.log.Errorln("%s\n", e)
a.log.Errorf("Http server start error: %s\n", e)
} else {
a.log.Infof("Http server is listening on %s and is supplied from %s %s\n", nc.HttpAddress, docFs, nc.WwwRoot)
}