Race: Apply lint suggestions

This commit is contained in:
Palapeli
2026-04-06 07:08:44 -04:00
parent a4a7fb43ce
commit f940b594b6

View File

@@ -212,5 +212,7 @@ func writeResponse(responseWriter http.ResponseWriter, rankingDataResponse ranki
responseWriter.Header().Set("Content-Length", strconv.Itoa(len(responseBody)))
responseWriter.Header().Set("Content-Type", "text/xml")
responseWriter.Write(responseBody)
if _, err := responseWriter.Write(responseBody); err != nil {
logging.Error("Failed to write response:", err)
}
}