From 3b85ffd1fcd50c2490e01b17f2f558fdfb47260e Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Fri, 27 Jun 2014 14:10:35 +0000 Subject: [PATCH] Print return value when starting HTTP handler for better error display --- fail2rest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2rest.go b/fail2rest.go index 4c98925..50d25be 100644 --- a/fail2rest.go +++ b/fail2rest.go @@ -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)) }