Panic if the http server fails

This commit is contained in:
Las Zenow 2012-08-31 00:36:41 +02:00
parent 90d401e98e
commit fbed1ab5ab

View file

@ -154,5 +154,5 @@ func main() {
fileHandler("/css/")
fileHandler("/js/")
http.HandleFunc("/", indexHandler(coll))
http.ListenAndServe(PORT, nil)
panic(http.ListenAndServe(PORT, nil))
}