From 499636d70c85d7615eb27d9c58d69ef55f26fc4a Mon Sep 17 00:00:00 2001 From: Michelle Noorali Date: Wed, 4 Apr 2018 12:04:27 -0400 Subject: [PATCH] ref(cmd/helm): show grpc error msg from prettyError --- cmd/helm/helm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index 497565209..86d7696fb 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -214,7 +214,7 @@ func prettyError(err error) error { } // If it's grpc's error, make it more user-friendly. if s, ok := status.FromError(err); ok { - return s.Err() + return fmt.Errorf(s.Message()) } // Else return the original error. return err