You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ra...@apache.org on 2020/02/20 04:10:15 UTC
[olingo-odata4] branch master updated: [OLINGO-1238]Code
Improvements in handling exceptions
This is an automated email from the ASF dual-hosted git repository.
ramyav pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/olingo-odata4.git
The following commit(s) were added to refs/heads/master by this push:
new a7f98f8 [OLINGO-1238]Code Improvements in handling exceptions
a7f98f8 is described below
commit a7f98f8842856319809db32b16c88354993b4178
Author: ramya vasanth <ra...@sap.com>
AuthorDate: Thu Feb 20 09:40:03 2020 +0530
[OLINGO-1238]Code Improvements in handling exceptions
---
.../client/core/communication/request/AbstractODataRequest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/AbstractODataRequest.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/AbstractODataRequest.java
index 0e8ea24..342c4c8 100644
--- a/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/AbstractODataRequest.java
+++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/AbstractODataRequest.java
@@ -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 {