Log listen address

This commit is contained in:
Luca 2022-07-24 04:43:24 +02:00
parent 72b511a120
commit 36d98f365a
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ func (s Server) ListenAndServe(config *config.ServerConfig, ctx context.Context,
} }
}() }()
log.Print("listening on ", config.ListenAddress)
err := server.ListenAndServe() err := server.ListenAndServe()
if err != http.ErrServerClosed { if err != http.ErrServerClosed {
return err return err