Skip to content

Commit a31945f

Browse files
crusherdsbrannen
authored andcommitted
Fix syntax error in RestClient documentation
Closes gh-33350
1 parent a0edf12 commit a31945f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/integration/rest-clients.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ String result = restClient.get() <1>
289289
.uri("https://example.com/this-url-does-not-exist") <1>
290290
.retrieve()
291291
.onStatus(HttpStatusCode::is4xxClientError, (request, response) -> { <2>
292-
throw new MyCustomRuntimeException(response.getStatusCode(), response.getHeaders()) <3>
292+
throw new MyCustomRuntimeException(response.getStatusCode(), response.getHeaders()); <3>
293293
})
294294
.body(String.class);
295295
----

0 commit comments

Comments
 (0)