mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-27 09:39:04 +00:00
Add URI and method name on ResourceAccess
Issue: SPR-9325
This commit is contained in:
committed by
Rossen Stoyanchev
parent
e54fb60180
commit
0baa1a56c2
@@ -495,7 +495,8 @@ public class RestTemplate extends InterceptingHttpAccessor implements RestOperat
|
||||
}
|
||||
}
|
||||
catch (IOException ex) {
|
||||
throw new ResourceAccessException("I/O error: " + ex.getMessage(), ex);
|
||||
throw new ResourceAccessException("I/O error on " + method.name() +
|
||||
" request for \"" + url + "\":" + ex.getMessage(), ex);
|
||||
}
|
||||
finally {
|
||||
if (response != null) {
|
||||
|
||||
Reference in New Issue
Block a user