Skip to content

Commit de0f3ae

Browse files
committed
Undo AsyncRestTemplate's catching of Throwable in 4.1.x
Issue: SPR-13413 Issue: SPR-12887
1 parent fd2252a commit de0f3ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/web/client/AsyncRestTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ protected final T adapt(ClientHttpResponse response) throws ExecutionException {
644644
}
645645
return convertResponse(response);
646646
}
647-
catch (Throwable ex) {
647+
catch (IOException ex) {
648648
throw new ExecutionException(ex);
649649
}
650650
finally {

0 commit comments

Comments
 (0)