combine two log statements into one
This commit is contained in:
parent
d6adef91f8
commit
d402cb4196
1 changed files with 1 additions and 2 deletions
3
btcd.go
3
btcd.go
|
@ -72,8 +72,7 @@ func btcdMain() error {
|
||||||
listenAddr := net.JoinHostPort("", cfg.Port)
|
listenAddr := net.JoinHostPort("", cfg.Port)
|
||||||
server, err := newServer(listenAddr, db, activeNetParams.btcnet)
|
server, err := newServer(listenAddr, db, activeNetParams.btcnet)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("Unable to start server on %v", listenAddr)
|
log.Errorf("Unable to start server on %v: %v", listenAddr, err)
|
||||||
log.Errorf("%v", err)
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
server.Start()
|
server.Start()
|
||||||
|
|
Loading…
Reference in a new issue