Log listen address
This commit is contained in:
parent
72b511a120
commit
36d98f365a
|
@ -43,6 +43,8 @@ func (s Server) ListenAndServe(config *config.ServerConfig, ctx context.Context,
|
|||
}
|
||||
}()
|
||||
|
||||
log.Print("listening on ", config.ListenAddress)
|
||||
|
||||
err := server.ListenAndServe()
|
||||
if err != http.ErrServerClosed {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue