diff options
author | Chandan Ghosh <cghosh12@in.ibm.com> | 2018-11-29 16:08:46 +0530 |
---|---|---|
committer | Chandan Ghosh <cghosh12@in.ibm.com> | 2018-11-29 16:08:57 +0530 |
commit | 1e7ab24c2c730f6e6488f9e80957b69de7dbc81e (patch) | |
tree | 6736e5a4f34ae42405a9deacc862d79dc459ee85 /aai-service/provider/src/main/java/org | |
parent | 6eb11a73f23b46e94f4209687a368dc1396e5404 (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/java/org')
-rwxr-xr-x | aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java | 2 |
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); } } } |