Skip to content

Commit

Permalink
Consistently throw TestContextAotException in TestContextAotGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jul 15, 2023
1 parent 2ba9939 commit 9e3f3be
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -227,7 +227,7 @@ private MultiValueMap<ClassName, Class<?>> processAheadOfTime(
}
catch (Exception ex) {
if (this.failOnError) {
throw new IllegalStateException("Failed to generate AOT artifacts for test classes " +
throw new TestContextAotException("Failed to generate AOT artifacts for test classes " +
testClasses.stream().map(Class::getName).toList(), ex);
}
if (logger.isDebugEnabled()) {
Expand Down

0 comments on commit 9e3f3be

Please sign in to comment.