diff --git a/cmd/drone-helm/main.go b/cmd/drone-helm/main.go index 3fbf3a4..61673b2 100644 --- a/cmd/drone-helm/main.go +++ b/cmd/drone-helm/main.go @@ -19,8 +19,8 @@ func main() { // Make the plan plan, err := helm.NewPlan(c) if err != nil { - fmt.Fprintf(os.Stderr, err.Error()) - return + fmt.Fprintf(os.Stderr, "%w\n", err) + os.Exit(1) } // Execute the plan