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)
|
||||
server, err := newServer(listenAddr, db, activeNetParams.btcnet)
|
||||
if err != nil {
|
||||
log.Errorf("Unable to start server on %v", listenAddr)
|
||||
log.Errorf("%v", err)
|
||||
log.Errorf("Unable to start server on %v: %v", listenAddr, err)
|
||||
return err
|
||||
}
|
||||
server.Start()
|
||||
|
|
Loading…
Reference in a new issue