From 1e7ab24c2c730f6e6488f9e80957b69de7dbc81e Mon Sep 17 00:00:00 2001 From: Chandan Ghosh Date: Thu, 29 Nov 2018 16:08:46 +0530 Subject: 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 --- .../src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aai-service/provider') 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); } } } -- cgit 1.2.3-korg