Commit 6ef6875a authored by dreis2211's avatar dreis2211 Committed by Andy Wilkinson

Correct WebFlux response body method

See gh-17919
parent 9ac64857
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment