From beeac8b0c8725021898493aac4b9a9eb2ea28ecc 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 (cherry picked from commit 499636d70c85d7615eb27d9c58d69ef55f26fc4a) --- 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 f19cb3c50..4c7ca9290 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -216,7 +216,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