summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src/main
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/provider/src/main
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/provider/src/main')
-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 b6215649..baceffab 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);
}
}
}