Merge branch '5.3.x'
This commit is contained in:
commit
720c30ce84
|
|
@ -530,7 +530,7 @@ public interface WebClient {
|
||||||
* return response.bodyToMono(ErrorContainer.class);
|
* return response.bodyToMono(ErrorContainer.class);
|
||||||
* }
|
* }
|
||||||
* else {
|
* else {
|
||||||
* return response.createException();
|
* return response.createError();
|
||||||
* }
|
* }
|
||||||
* });
|
* });
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|
|
||||||
|
|
@ -595,7 +595,7 @@ depending on the response status:
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Turn to error
|
// Turn to error
|
||||||
return response.createException();
|
return response.createError();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
----
|
----
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue