Skip to content

Commit 7fc2814

Browse files
committed
Merge branch '6.1.x'
2 parents eeb9959 + 66eddf9 commit 7fc2814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/http/client/ReactorNettyClientRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ static IOException convertException(RuntimeException ex) {
140140
return ioEx;
141141
}
142142
}
143-
return new IOException(ex.getMessage(), cause);
143+
return new IOException(ex.getMessage(), (cause != null ? cause : ex));
144144
}
145145

146146

0 commit comments

Comments
 (0)