diff --git a/cmd/web/main.go b/cmd/web/main.go index 6f7a77f..88fce17 100644 --- a/cmd/web/main.go +++ b/cmd/web/main.go @@ -29,6 +29,9 @@ func main() { } // and finally, start the server - app.Logger.Printf("Listening on port %d", app.ListenPort) - srv.ListenAndServe() + app.Logger.Printf("Starting HTTP Server on port %d", app.ListenPort) + err := srv.ListenAndServe() + if err != nil { + app.Logger.Fatal("Failed to start HTTP Server!", "err", err) + } }