diff --git a/pkg/action/install.go b/pkg/action/install.go index 1e3ceba0c..36dc6b7bb 100644 --- a/pkg/action/install.go +++ b/pkg/action/install.go @@ -757,14 +757,7 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) ( return filename, err } return lname, nil - } else if settings.Debug { - return filename, err - } - - 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) }