Skip to content

Commit 58bc758

Browse files
committed
Merge branch '2.0.x'
2 parents 9cb8a77 + b872fc8 commit 58bc758

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-restdocs-core/src/test/java/org/springframework/restdocs/templates/StandardTemplateResourceResolverTests.java

+3
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ private <T> T doWithThreadContextClassLoader(ClassLoader classLoader, Callable<T
110110
return action.call();
111111
}
112112
catch (Exception ex) {
113+
if (ex instanceof RuntimeException) {
114+
throw (RuntimeException) ex;
115+
}
113116
throw new RuntimeException(ex);
114117
}
115118
finally {

0 commit comments

Comments
 (0)