Skip to content

Commit

Permalink
Dont catch internal exceptions from test case
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBadura committed Jan 3, 2025
1 parent 2830333 commit e4ed118
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Test/AggregateRootTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ public function assert(): self

$aggregate = $return;
}
} catch (AggregateTestError $exception) {
throw $exception;
} catch (Throwable $throwable) {
$this->handleException($throwable);
}
Expand Down

0 comments on commit e4ed118

Please sign in to comment.