combine two log statements into one

This commit is contained in:
David Hill 2013-10-15 12:17:23 -04:00
parent d6adef91f8
commit d402cb4196

View file

@ -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()