fix lints

This commit is contained in:
crapStone 2024-01-18 21:29:23 +01:00
parent fc480bfb45
commit 6bf6f621b4
No known key found for this signature in database
GPG Key ID: 22D4BF0CF7CC29C8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func Serve(ctx *cli.Context) error {
}
log.Logger = zerolog.New(zerolog.ConsoleWriter{Out: os.Stderr}).With().Timestamp().Logger().Level(logLevel)
foo, err := json.Marshal(cfg)
foo, _ := json.Marshal(cfg)
log.Trace().RawJSON("config", foo).Msg("starting server with config")
listeningSSLAddress := fmt.Sprintf("%s:%d", cfg.Server.Host, cfg.Server.Port)