Unverified Commit beeac8b0 authored by Michelle Noorali's avatar Michelle Noorali Committed by Matthew Fisher
Browse files

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

(cherry picked from commit 499636d7)
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
......
Supports Markdown
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