From 777bdf4a1e4916cf4c6ba484a3d34b39e104beb8 Mon Sep 17 00:00:00 2001 From: Cameron Davison Date: Thu, 28 Jul 2016 22:14:52 -0500 Subject: [PATCH] fix setup consul syncer error message --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 04851e29a..7cfb4161a 100644 --- a/client/client.go +++ b/client/client.go @@ -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.