project layout - web: add server listening log message
This commit is contained in:
parent
7a88321a69
commit
e4293b7b8b
|
@ -105,6 +105,7 @@ func main() {
|
||||||
log.Fatalf("%+v", errors.Wrap(err, "could not mount http routes"))
|
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 {
|
if err := http.ListenAndServe(conf.HTTP.Address, r); err != nil {
|
||||||
log.Fatalf("%+v", errors.Wrapf(err, "could not listen on '%s'", conf.HTTP.Address))
|
log.Fatalf("%+v", errors.Wrapf(err, "could not listen on '%s'", conf.HTTP.Address))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue