mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 15:49:26 +00:00
Don't swallow exception when logging response status
See gh-29696
This commit is contained in:
@@ -908,7 +908,7 @@ public class RestTemplate extends InterceptingHttpAccessor implements RestOperat
|
||||
logger.debug("Response " + statusCode);
|
||||
}
|
||||
catch (IOException ex) {
|
||||
// ignore
|
||||
logger.debug("Failed to get response status code", ex);
|
||||
}
|
||||
}
|
||||
if (hasError) {
|
||||
|
||||
Reference in New Issue
Block a user