diff --git a/src/Mapper/PostingApiToEntityMapper.php b/src/Mapper/PostingApiToEntityMapper.php index 6dfe30d..a2e8592 100644 --- a/src/Mapper/PostingApiToEntityMapper.php +++ b/src/Mapper/PostingApiToEntityMapper.php @@ -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,