You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.onErrorResume(ReadCancellationException.class, ex -> Mono.empty())
However, if somewhere downstream in the pipeline an onErrorContinue operator is appended, the exception does surface which caused me some confusion. Could this be implemented differently without throwing an exception?
The text was updated successfully, but these errors were encountered:
Good point that a downstream onErrorContinue can quietly overtake onErrorResume handling and preclude buffer handling. Out of curiosity how did you even come across the issue?
We'll explore some alternative. We need to review similar handling elsewhere (e.g. DefaultWebClient).
The way that
ReadCancellationException
is used inBodyExtractors
is apparently meant to be an implementation detail:spring-framework/spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractors.java
Lines 269 to 273 in 1bff7ce
However, if somewhere downstream in the pipeline an
onErrorContinue
operator is appended, the exception does surface which caused me some confusion. Could this be implemented differently without throwing an exception?The text was updated successfully, but these errors were encountered: