Skip to content

Commit

Permalink
Use errors.Wrapf
Browse files Browse the repository at this point in the history
Co-Authored-By: jlegrone <jlegrone@users.noreply.github.com>
Signed-off-by: Jacob LeGrone <git@jacob.work>
  • Loading branch information
unguiculus and jlegrone committed Mar 12, 2019
1 parent de15bea commit 4040e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chart/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
}
Expand Down

0 comments on commit 4040e6d

Please sign in to comment.