Skip to content

Commit

Permalink
Fix style on standard log failure cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesep committed Jan 2, 2024
1 parent fb45ee0 commit be20c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ func main() {
}
conf, err := config.Load(*configFile)
if err != nil {
stdlog.Fatalf("could not load config file: %v", err)
stdlog.Fatalf("Could not load config file: %v", err)
}

logLvl, err := logrus.ParseLevel(conf.LogLevel)
if err != nil {
stdlog.Fatalf("failed logrus.ParseLevel(%q): %v", conf.LogLevel, err)
stdlog.Fatalf("Could not parse log level %q: %v", conf.LogLevel, err)
}

logger := athenslog.New(conf.CloudRuntime, logLvl)
Expand Down

0 comments on commit be20c68

Please sign in to comment.