Skip to content

Commit 319ddad

Browse files
committed
Merge remote-tracking branch 'github-magento2ce/MAGETWO-64838_2' into EPAM-PR-46
2 parents 0efa7b8 + 5fd06db commit 319ddad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/Webapi/ServiceInputProcessor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ protected function _createFromArray($className, $data)
275275
} else {
276276
$setterValue = $this->convertValue($value, $returnType);
277277
}
278+
// phpcs:ignore Magento2.Exceptions.ThrowCatch
278279
} catch (SerializationException $e) {
279280
throw new SerializationException(
280281
new Phrase(
@@ -323,6 +324,7 @@ protected function convertCustomAttributeValue($customAttributesValueArray, $dat
323324
) {
324325
try {
325326
$attributeValue = $this->convertValue($customAttributeValue, $type);
327+
// phpcs:ignore Magento2.Exceptions.ThrowCatch
326328
} catch (SerializationException $e) {
327329
throw new SerializationException(
328330
new Phrase(

0 commit comments

Comments
 (0)