diff options
author | 2018-11-29 16:08:46 +0530 | |
---|---|---|
committer | 2018-11-29 16:08:57 +0530 | |
commit | 1e7ab24c2c730f6e6488f9e80957b69de7dbc81e (patch) | |
tree | 6736e5a4f34ae42405a9deacc862d79dc459ee85 | |
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>
-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 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); } } } |