added log for exception block 02/73902/1
authorChandan Ghosh <cghosh12@in.ibm.com>
Thu, 29 Nov 2018 10:38:46 +0000 (16:08 +0530)
committerChandan Ghosh <cghosh12@in.ibm.com>
Thu, 29 Nov 2018 10:38:57 +0000 (16:08 +0530)
Added log for exception block reported in sonar

Issue-ID: CCSDK-767
Change-Id: I71d5cc7df8a0b3aefb2046a2d2860339f16216d0
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java

index b621564..baceffa 100755 (executable)
@@ -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);
                 }
             }
         }