Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webapi: Refine server start/stop logging.
Don't log errors returned by server.Shutdown. They are exceedingly unlikely, and there is nothing which can be done about them. Moving the "Listening on..." log closer to where the server is actually started reduces the chance of confusion. Also, logging the parsed listener.Addr() string instead of the provided config string provides extra debugging detail.
- Loading branch information