project layout - web: add server listening log message

This commit is contained in:
wpetit 2020-02-12 22:21:47 +01:00
parent 7a88321a69
commit e4293b7b8b
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ func main() {
log.Fatalf("%+v", errors.Wrap(err, "could not mount http routes"))
}
log.Printf("listening on '%s'", conf.HTTP.Address)
if err := http.ListenAndServe(conf.HTTP.Address, r); err != nil {
log.Fatalf("%+v", errors.Wrapf(err, "could not listen on '%s'", conf.HTTP.Address))
}