diff --git a/code/main.go b/code/main.go index 96822e2..11f0d2f 100644 --- a/code/main.go +++ b/code/main.go @@ -39,5 +39,8 @@ func main() { http.HandleFunc("/websocket", websocketConnection) http.Handle("/", http.FileServer(http.Dir("./static"))) - http.ListenAndServe(":8080", nil) + err := http.ListenAndServe(":8080", nil) + if err != nil { + fmt.Errorf("Server could not start up: %s", err.Error()) + } }