Parcourir la source

Exception

master
Florian Eisenmenger il y a 1 an
Parent
révision
eb84fcc737
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/Mapper/PostingApiToEntityMapper.php

+ 1
- 1
src/Mapper/PostingApiToEntityMapper.php Voir le fichier

@@ -46,7 +46,7 @@ class PostingApiToEntityMapper implements MapperInterface
MicroMapperInterface::MAX_DEPTH => 1,
]);
if ($dto->product === null) {
throw new \Exception('Partner missing');
throw new \Exception('Product missing');
}
$product = $this->microMapper->map($dto->product, Product::class, [
MicroMapperInterface::MAX_DEPTH => 1,


Chargement…
Annuler
Enregistrer