Feedback from PR Signed-off-by: GitHub <noreply@github.com>
@ -757,14 +757,7 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) (
return filename, err
}
return lname, nil
} else if settings.Debug {
atVersion := ""
if version != "" {
atVersion = fmt.Sprintf(" at version %q", version)
} else {
return "", err
return filename, errors.Errorf("failed to download %q%s because of %s", name, atVersion, err)