Unverified Commit a6b0c9a0 authored by cspitzlay's avatar cspitzlay Committed by e0ipso
Browse files

Issue #3078342 by cspitzlay: Input validation failure message misleading

parent a07be20d
......@@ -168,7 +168,7 @@ class JsonBlueprintDenormalizer implements DenormalizerInterface, SerializerAwar
}
/**
* Validates a response against the JSON API specification.
* Validates the consumers's blueprint against the subrequests payload format.
*
* @param mixed $input
* The blueprint sent by the consumer.
......@@ -188,7 +188,7 @@ class JsonBlueprintDenormalizer implements DenormalizerInterface, SerializerAwar
if (!$this->validator->isValid()) {
// Log any potential errors.
$this->logger->debug('Response failed validation: @data', [
$this->logger->debug('Consumer\'s blueprint failed validation: @data', [
'@data' => Json::encode($input),
]);
$this->logger->debug('Validation errors: @errors', [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment