Skip to content

Commit aa5d99b

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Fix code Tweak the code to avoid fabbot false positives
2 parents 4f29f2c + 067b6a0 commit aa5d99b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Normalizer/AbstractObjectNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function denormalize($data, string $type, string $format = null, array $c
332332
try {
333333
$this->setAttributeValue($object, $attribute, $value, $format, $context);
334334
} catch (InvalidArgumentException $e) {
335-
throw new NotNormalizableValueException(sprintf('Failed to denormalize attribute "%s" value for class "%s": %s.', $attribute, $type, $e->getMessage()), $e->getCode(), $e);
335+
throw new NotNormalizableValueException(sprintf('Failed to denormalize attribute "%s" value for class "%s": '.$e->getMessage(), $attribute, $type), $e->getCode(), $e);
336336
}
337337
}
338338

0 commit comments

Comments
 (0)