mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
FIx error message
This commit is contained in:
parent
8e7ea86b42
commit
70038e9943
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue