diff --git a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc index 37d85683e684..0e0c5d2de63b 100644 --- a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc +++ b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc @@ -289,7 +289,7 @@ String result = restClient.get() <1> .uri("https://example.com/this-url-does-not-exist") <1> .retrieve() .onStatus(HttpStatusCode::is4xxClientError, (request, response) -> { <2> - throw new MyCustomRuntimeException(response.getStatusCode(), response.getHeaders()) <3> + throw new MyCustomRuntimeException(response.getStatusCode(), response.getHeaders()); <3> }) .body(String.class); ----