Skip to content

Commit

Permalink
change panic to fatal, because of more useale
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Dec 9, 2023
1 parent ff0d91f commit d79b931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dmsgcurl/commands/dmsgcurl.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ var RootCmd = &cobra.Command{
dmsgcurlLog = logging.MustGetLogger("dmsgcurl")
}
if stdout {
logLvl = "panic"
logLvl = "fatal"
}
if logLvl != "" {
if lvl, err := logging.LevelFromString(logLvl); err == nil {
Expand Down

0 comments on commit d79b931

Please sign in to comment.