From 2c924b1960091f5583a0e11abbc9d16967e7aa71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20N=C3=A4gele?= Date: Tue, 12 Mar 2019 11:09:46 -0400 Subject: [PATCH] Use errors.Wrapf Co-Authored-By: jlegrone --- pkg/chart/chart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chart/chart.go b/pkg/chart/chart.go index 5c497b01..2c3b7d16 100644 --- a/pkg/chart/chart.go +++ b/pkg/chart/chart.go @@ -257,7 +257,7 @@ func (t *Testing) processCharts(action func(chart string, valuesFiles []string) for _, chart := range charts { if err := t.helm.BuildDependencies(computePreviousRevisionPath(chart)); err != nil { // Only print error (don't exit) if building dependencies for previous revision fails. - fmt.Println(errors.Wrap(err, fmt.Sprintf("Error building dependencies for previous revision of chart '%s'", chart))) + fmt.Println(errors.Wrapf(err, "Error building dependencies for previous revision of chart '%s'\n", chart)) } } }