Print return value when starting HTTP handler for better error display

This commit is contained in:
Sean DuBois 2014-06-27 14:10:35 +00:00
parent 6ac04f33cf
commit 3b85ffd1fc
1 changed files with 1 additions and 1 deletions

View File

@ -43,5 +43,5 @@ func main() {
jailHandler(r.PathPrefix("/jail").Subrouter(), fail2goConn)
http.Handle("/", r)
http.ListenAndServe(configuration.Addr, nil)
fmt.Println(http.ListenAndServe(configuration.Addr, nil))
}