From 1c4da466809fa625f4e00e28ad6c233a9d702231 Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Tue, 12 Apr 2016 15:25:18 -0400 Subject: [PATCH] log errors --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 20d29ac..1b70f57 100644 --- a/main.go +++ b/main.go @@ -43,5 +43,5 @@ func main() { http.Handle("/", handler) addr := fmt.Sprintf(":%d", Port) log.Printf("Listening on %s\n", addr) - http.ListenAndServe(addr, nil) + log.Fatal(http.ListenAndServe(addr, nil)) }