Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit e098bed

Browse files
.
1 parent a84b9c0 commit e098bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/httpserver/health.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var healthHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request
3333
jsonBytes, err := utils.MakeJsonObject(data, true)
3434
if err != nil {
3535
logger.Err(r.Context(), err).Msg("Failed to serialize health check response.")
36-
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
36+
w.WriteHeader(http.StatusInternalServerError)
3737
return
3838
}
3939

0 commit comments

Comments
 (0)