Skip to content

Commit

Permalink
os.Exit(1) instead of panic
Browse files Browse the repository at this point in the history
  • Loading branch information
Aziz Ishan-Khojaev committed Feb 9, 2024
1 parent 751e006 commit 7f89ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func main() {
panic(err)
}
logger.Error("failed executing root command", "error", err)
panic(err)
os.Exit(1)
}
}

Expand Down

0 comments on commit 7f89ff0

Please sign in to comment.