Extra information in WebFlux stacktraces

Use the checkpoint operator at various places in WebFlux to insert
information that Reactor then uses to enrich exceptions, via suppressed
exceptions, when error signals flow through the operator.

Closes gh-22105
This commit is contained in:
Rossen Stoyanchev
2019-03-15 16:12:58 -04:00
parent 495ba2f58c
commit e6d206b45a
16 changed files with 144 additions and 45 deletions

View File

@@ -70,7 +70,7 @@ public class DefaultClientResponseTests {
public void createMocks() {
mockResponse = mock(ClientHttpResponse.class);
mockExchangeStrategies = mock(ExchangeStrategies.class);
defaultClientResponse = new DefaultClientResponse(mockResponse, mockExchangeStrategies, "");
defaultClientResponse = new DefaultClientResponse(mockResponse, mockExchangeStrategies, "", "");
}