Skip to content

Commit 4978eef

Browse files
smileprstoyanchev
authored andcommitted
Update Javadoc in DefaultResponseErrorHandler
Closes gh-27569
1 parent 052ed50 commit 4978eef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/web/client/DefaultResponseErrorHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ public void handleError(ClientHttpResponse response) throws IOException {
123123
}
124124

125125
/**
126-
* Return error message with details from the response body, possibly truncated:
126+
* Return error message with details from the response body:
127127
* <pre>
128-
* 404 Not Found: [{'id': 123, 'message': 'my very long... (500 bytes)]
128+
* 404 Not Found: [{'id': 123, 'message': 'my message'}]
129129
* </pre>
130130
*/
131131
private String getErrorMessage(

0 commit comments

Comments
 (0)