mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
This commit is contained in:
parent
c3b61db8cf
commit
1604cb2a1e
@ -88,7 +88,7 @@ public final class WebClientExchangeTags {
|
||||
if (response != null) {
|
||||
return Tag.of("status", String.valueOf(response.rawStatusCode()));
|
||||
}
|
||||
else if (throwable != null) {
|
||||
if (throwable != null) {
|
||||
return (throwable instanceof IOException) ? IO_ERROR : CLIENT_ERROR;
|
||||
}
|
||||
return CLIENT_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user