We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c14911 commit 813108aCopy full SHA for 813108a
spring-test/src/main/java/org/springframework/test/context/TestContextManager.java
@@ -366,9 +366,9 @@ public void afterTestClass() throws Exception {
366
if (logger.isWarnEnabled()) {
367
logger.warn("Caught exception while allowing TestExecutionListener [" + testExecutionListener +
368
"] to process 'after class' callback for test class [" + testClass + "]", ex);
369
- if (afterTestClassException == null) {
370
- afterTestClassException = ex;
371
- }
+ }
+ if (afterTestClassException == null) {
+ afterTestClassException = ex;
372
}
373
374
0 commit comments