Skip to content

Commit

Permalink
Revert "Remove useless, redundant catch"
Browse files Browse the repository at this point in the history
This reverts commit 2fe9353.
  • Loading branch information
theseer committed Mar 3, 2024
1 parent cb3edc6 commit 2076915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ManifestDocumentMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2076915

Please sign in to comment.