This commit is contained in:
Phillip Webb 2020-04-13 14:05:48 -07:00
parent c3b61db8cf
commit 1604cb2a1e

View File

@ -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;