From 5171f2e2413f5c21c33d1ca01bc7117def6558ce Mon Sep 17 00:00:00 2001 From: ThamlurRaju Date: Tue, 21 Aug 2018 15:29:04 +0530 Subject: fixing Logger usage Issue Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.driver.vnfm.svnfm.huawei%3Avfc-nfvo-driver-vnfm-svnfm-huawei&open=AWOMyzufwGn37Jfbp59g&resolved=false&severities=CRITICAL Location: src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java Line No- 79 Change-Id: I00252cd44185c604a5a73de59304ecdafda0ce05 Issue-ID: VFC-1045 Signed-off-by: ThamlurRaju --- .../vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java index 08d90816..3290ef3c 100644 --- a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java +++ b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java @@ -77,7 +77,7 @@ public abstract class ScaleManager { } } } catch(JSONException e) { - LOG.error("function=beforeScaleIn, msg=recode current vms JSONException"); + LOG.error("function=beforeScaleIn, msg=recode current vms JSONException", e); } return vmList; } -- cgit 1.2.3-korg