summaryrefslogtreecommitdiffstats
path: root/aai-service
diff options
context:
space:
mode:
authorChandan Ghosh <cghosh12@in.ibm.com>2018-11-29 16:08:46 +0530
committerChandan Ghosh <cghosh12@in.ibm.com>2018-11-29 16:08:57 +0530
commit1e7ab24c2c730f6e6488f9e80957b69de7dbc81e (patch)
tree6736e5a4f34ae42405a9deacc862d79dc459ee85 /aai-service
parent6eb11a73f23b46e94f4209687a368dc1396e5404 (diff)
added log for exception block
Added log for exception block reported in sonar Issue-ID: CCSDK-767 Change-Id: I71d5cc7df8a0b3aefb2046a2d2860339f16216d0 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
Diffstat (limited to 'aai-service')
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
index b62156494..baceffab3 100755
--- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
+++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
@@ -266,7 +266,7 @@ public abstract class AAIRequest {
function = clazz.getMethod("processPathData", request_url.getClass(), requestProperties.getClass());
request_url = (String) function.invoke(null, request_url, requestProperties);
} catch (Exception e) {
- e.printStackTrace();
+ LOG.error("Caught exception", e);
}
}
}