diff --git a/main.go b/main.go index e52e99b..c799fa9 100644 --- a/main.go +++ b/main.go @@ -233,6 +233,7 @@ func checkHandler(w http.ResponseWriter, r *http.Request) { forceRefresh := r.Method != "GET" // if this is a GET request, try fetch from cached version in mongo first resp, err := newChecksResp(repo, forceRefresh) if err != nil { + log.Println("ERROR: ", err) b, _ := json.Marshal(err) w.WriteHeader(http.StatusInternalServerError) w.Write(b) diff --git a/templates/home.html b/templates/home.html index 2b6d33b..333b1c6 100644 --- a/templates/home.html +++ b/templates/home.html @@ -258,12 +258,10 @@