Skip to content

Commit

Permalink
os.Exit(1) instead of panic (#76)
Browse files Browse the repository at this point in the history
Co-authored-by: Aziz Ishan-Khojaev <aziz.ishan-khojaev@hm.edu>
  • Loading branch information
Azneo and Aziz Ishan-Khojaev committed Feb 13, 2024
1 parent 751e006 commit 79dcf25
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 79dcf25

Please sign in to comment.