diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index c71d4b139..da233aac0 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -70,7 +70,7 @@ }, { "ImportPath": "github.com/tendermint/go-common", - "Rev": "19f5a93cffe6df6734c3e7cf3896ba3cea546348" + "Rev": "02022e356aab724d17b8cc2e4e035ef49b6099af" }, { "ImportPath": "github.com/tendermint/go-config", diff --git a/handlers/handlers.go b/handlers/handlers.go index 7e9284387..ada84381e 100644 --- a/handlers/handlers.go +++ b/handlers/handlers.go @@ -123,7 +123,7 @@ func (tn *TendermintNetwork) RegisterChain(chainConfig *types.BlockchainConfig) v.Status = &types.ValidatorStatus{} if err := v.Start(); err != nil { - return nil, err + return nil, fmt.Errorf("Error starting validator %s: %v", v.Config.Validator.ID, err) } // register callbacks for the validator diff --git a/main.go b/main.go index fae7f3a23..26895a991 100644 --- a/main.go +++ b/main.go @@ -173,7 +173,7 @@ func cmdMonitor(c *cli.Context) { // Register validator set _, err := network.RegisterValidatorSet(valSetCfg) if err != nil { - Exit(err.Error()) + Exit("Register validator set error: " + err.Error()) } } @@ -181,7 +181,7 @@ func cmdMonitor(c *cli.Context) { // Register blockchain _, err := network.RegisterChain(chainCfg) if err != nil { - Exit(err.Error()) + Exit(Fmt("Register chain error for chain %s: %v", chainCfg.ID, err)) } } diff --git a/vendor/github.com/tendermint/go-common/service.go b/vendor/github.com/tendermint/go-common/service.go index 1d2303247..7ecb1687c 100644 --- a/vendor/github.com/tendermint/go-common/service.go +++ b/vendor/github.com/tendermint/go-common/service.go @@ -110,7 +110,7 @@ func (bs *BaseService) Stop() bool { return true } else { if bs.log != nil { - bs.log.Notice(Fmt("Stopping %v (ignoring: already stopped)", bs.name), "impl", bs.impl) + bs.log.Debug(Fmt("Stopping %v (ignoring: already stopped)", bs.name), "impl", bs.impl) } return false }