diff --git a/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java b/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java index 589d11c82ab..13fbe9ecf79 100644 --- a/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java +++ b/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2022 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -908,7 +908,7 @@ public class RestTemplate extends InterceptingHttpAccessor implements RestOperat logger.debug("Response " + statusCode); } catch (IOException ex) { - logger.debug("Failed to get response status code", ex); + logger.debug("Failed to obtain response status code", ex); } } if (hasError) {