Skip to content

Commit

Permalink
fix: don't panic on CLI error (#2816)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas authored Sep 25, 2024
1 parent 9a4944d commit 431a19e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ func main() {

app := createKongApplication(&cli)
kctx, err := app.Parse(os.Args[1:])
if err != nil {
panic(err)
}
app.FatalIfErrorf(err)

if !cli.Plain {
sm := terminal.NewStatusManager(ctx)
Expand Down

0 comments on commit 431a19e

Please sign in to comment.