Skip to content

Commit

Permalink
workaround(validate): panic when trying to use inexistent .Error() (#95)
Browse files Browse the repository at this point in the history
Co-authored-by: Leandro Carneiro <[email protected]>
  • Loading branch information
carnei-ro and carnei-ro authored May 23, 2023
1 parent a93401a commit 4413245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/k8s-pipeliner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ func main() {
}

if err := app.Run(os.Args); err != nil {
fmt.Println(err.Error())
os.Exit(1)
fmt.Printf("error: %v", err)
os.Exit(255)
}
}

Expand Down

0 comments on commit 4413245

Please sign in to comment.