summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThamlurRaju <thamlurraju468@gmail.com>2018-08-21 15:29:04 +0530
committerThamlurRaju <thamlurraju468@gmail.com>2018-08-21 15:29:04 +0530
commit5171f2e2413f5c21c33d1ca01bc7117def6558ce (patch)
treee90b9992065bf93bd326fd57ad0f210343622645
parentec296f47a42e46c578fa8672e8b2705d1626eefe (diff)
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 <thamlurraju468@gmail.com>
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java2
1 files changed, 1 insertions, 1 deletions
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;
}