Log error message on failed download

Signed-off-by: GitHub <noreply@github.com>
pull/10834/head
stan-sz 2 years ago committed by GitHub
parent ee3f270e1e
commit 660e4ffe7a

@ -766,5 +766,5 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) (
atVersion = fmt.Sprintf(" at version %q", version)
}
return filename, errors.Errorf("failed to download %q%s", name, atVersion)
return filename, errors.Errorf("failed to download %q%s because of %s", name, atVersion, err)
}

Loading…
Cancel
Save