Merge "VOL-3214 Fix fault when getting logicaldevice port stats"
diff --git a/internal/pkg/commands/log.go b/internal/pkg/commands/log.go
index c745424..2c463b4 100644
--- a/internal/pkg/commands/log.go
+++ b/internal/pkg/commands/log.go
@@ -622,7 +622,7 @@
if len(options.Args.Component) == 0 {
componentList, err = cm.RetrieveComponentList(ctx, config.ConfigTypeLogLevel)
if err != nil {
- return fmt.Errorf("Unable to retrieve list of voltha components : %s ", err)
+ return fmt.Errorf("Unable to retrieve list of voltha components : %s \nIs ETCD available at %s:%d?", err, host, port)
}
} else {
componentList = toStringArray(options.Args.Component)