Change createException to createError
See gh-27645
This commit is contained in:
@@ -530,7 +530,7 @@ public interface WebClient {
|
||||
* return response.bodyToMono(ErrorContainer.class);
|
||||
* }
|
||||
* else {
|
||||
* return response.createException();
|
||||
* return response.createError();
|
||||
* }
|
||||
* });
|
||||
* </pre>
|
||||
|
||||
Reference in New Issue
Block a user