From a31945f8b6543c1683d44655348aa86ec4d60904 Mon Sep 17 00:00:00 2001 From: Robert Danczak Date: Thu, 8 Aug 2024 15:42:37 +0200 Subject: [PATCH] Fix syntax error in RestClient documentation Closes gh-33350 --- framework-docs/modules/ROOT/pages/integration/rest-clients.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc index 37d85683e68..0e0c5d2de63 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); ----