Merge pull request #1485 from novilabs/fix-consul-error-log
fix setup consul syncer error message
This commit is contained in:
commit
399e6eba7b
|
@ -203,7 +203,7 @@ func NewClient(cfg *config.Config, consulSyncer *consul.Syncer, logger *log.Logg
|
|||
|
||||
// Setup the Consul syncer
|
||||
if err := c.setupConsulSyncer(); err != nil {
|
||||
return nil, fmt.Errorf("failed to create client Consul syncer: %v")
|
||||
return nil, fmt.Errorf("failed to create client Consul syncer: %v", err)
|
||||
}
|
||||
|
||||
// Register and then start heartbeating to the servers.
|
||||
|
|
Loading…
Reference in New Issue