From 8c0aea2e0d713266d38e3d3034b99e8e136a8360 Mon Sep 17 00:00:00 2001 From: LTLA Date: Thu, 18 Apr 2024 16:57:11 -0700 Subject: [PATCH] Actually log any failures from the HTTP listener. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 4eeea55..bc27e59 100644 --- a/main.go +++ b/main.go @@ -291,5 +291,5 @@ func main() { }() // Setting up the API. - http.ListenAndServe("0.0.0.0:" + strconv.Itoa(*port), nil) + log.Fatal(http.ListenAndServe("0.0.0.0:" + strconv.Itoa(*port), nil)) }