Skip to content

Commit

Permalink
fix: remove extraneous output when log level is unparseable
Browse files Browse the repository at this point in the history
  • Loading branch information
shivjm committed Feb 14, 2024
1 parent 510c894 commit c8c211b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
level, err := zerolog.ParseLevel(cfg.LogLevel)

if err != nil {
log.Fatal().Stack().Err(err).Msgf("%+v\n", err)
log.Fatal().Err(err).Msgf("Could not parse log level")
return
}

Expand Down

0 comments on commit c8c211b

Please sign in to comment.