diff --git a/pkg/metrics/prometheus.go b/pkg/metrics/prometheus.go index 83b8cd0a50..884cbe7cb1 100644 --- a/pkg/metrics/prometheus.go +++ b/pkg/metrics/prometheus.go @@ -293,7 +293,7 @@ func (pc *prometheusCollector) MeasureGraphQLResponseDuration(next http.Handler) OperationName string `json:"operationName"` } if !json.Valid(bodyCopy) { // Check if the body is valid JSON - http.Error(w, "invalid JSON body p", http.StatusBadRequest) + http.Error(w, "invalid JSON body please check your request!", http.StatusBadRequest) return } if err := json.Unmarshal(bodyCopy, &graphqlRequest); err != nil {