fmt.Fprintf does not support error-wrapping directive %w
This commit is contained in:
parent
f9330eff0b
commit
a2304c1f07
|
@ -20,7 +20,7 @@ func main() {
|
||||||
// Make the plan
|
// Make the plan
|
||||||
plan, err := helm.NewPlan(*cfg)
|
plan, err := helm.NewPlan(*cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "%w\n", err)
|
fmt.Fprintf(os.Stderr, "%v\n", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue