Correct WebFlux response body method

See gh-17919
pull/17939/head
dreis2211 5 years ago committed by Andy Wilkinson
parent 9ac6485768
commit 6ef6875a60

@ -171,7 +171,7 @@ public abstract class AbstractErrorWebExceptionHandler implements ErrorWebExcept
}
Resource resource = resolveResource(viewName);
if (resource != null) {
return responseBody.bodyValue(BodyInserters.fromResource(resource));
return responseBody.body(BodyInserters.fromResource(resource));
}
return Mono.empty();
}

Loading…
Cancel
Save