Skip to content

Commit

Permalink
Merge pull request #222 from platformsh/print-init-error
Browse files Browse the repository at this point in the history
Display errors from setting up temporary files in Init()
  • Loading branch information
akalipetis authored Dec 10, 2024
2 parents 2661845 + 0f1e638 commit 8bf7272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func newRootCommand(cnf *config.Config, assets *vendorization.VendorAssets) *cob
Stdin: cmd.InOrStdin(),
}
if err := c.Init(); err != nil {
debugLog("%s\n", color.RedString(err.Error()))
log.Println(color.RedString(err.Error()))
os.Exit(1)
return
}
Expand Down

0 comments on commit 8bf7272

Please sign in to comment.