[OLINGO-1238]Code Improvements in handling exceptions

This commit is contained in:
ramya vasanth 2020-02-20 09:40:03 +05:30
parent 6a35dd0d58
commit a7f98f8842
1 changed files with 2 additions and 2 deletions

View File

@ -306,10 +306,10 @@ public abstract class AbstractODataRequest extends AbstractRequest implements OD
try {
response = httpClient.execute(request);
} catch (IOException e) {
throw new HttpClientException(e);
throw new HttpClientException(request.getURI().toASCIIString(), e);
} catch (RuntimeException e) {
request.abort();
throw new HttpClientException(e);
throw new HttpClientException(request.getURI().toASCIIString(), e);
}
try {