diff --git a/src/ManifestDocumentMapper.php b/src/ManifestDocumentMapper.php index a5e22e9..c5d797a 100644 --- a/src/ManifestDocumentMapper.php +++ b/src/ManifestDocumentMapper.php @@ -32,6 +32,8 @@ public function map(ManifestDocument $document): Manifest { $requirements, $bundledComponents ); + } catch (VersionException $e) { + throw new ManifestDocumentMapperException($e->getMessage(), (int)$e->getCode(), $e); } catch (Exception $e) { throw new ManifestDocumentMapperException($e->getMessage(), (int)$e->getCode(), $e); }