diff --git a/main.go b/main.go index a4f9fc2..c938097 100644 --- a/main.go +++ b/main.go @@ -90,6 +90,7 @@ func rootHandler(w http.ResponseWriter, r *http.Request) { resp, err := http.Get(config.PRESENCEAPI) if err != nil { w.WriteHeader(http.StatusServiceUnavailable) + fmt.Fprintf(w, "err: unable to request presence API: %v", err) return } defer resp.Body.Close()