Commit 499636d7 authored by Michelle Noorali's avatar Michelle Noorali

ref(cmd/helm): show grpc error msg from prettyError

parent 58e4b6ac
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment