summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/service
diff options
context:
space:
mode:
authorThamlurRaju <thamlurraju468@gmail.com>2018-08-21 15:13:28 +0530
committerThamlurRaju <thamlurraju468@gmail.com>2018-08-21 15:17:26 +0530
commitec296f47a42e46c578fa8672e8b2705d1626eefe (patch)
treeeb9f153c9b6d20cd2565e99d086d4542f615b51e /huawei/vnfmadapter/VnfmadapterService/service
parent5ca5fe649edbf53d508677b60f94203b0b65a37e (diff)
fixing Critical Sonar 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=AWOMyzufwGn37Jfbp59f&resolved=false&severities=CRITICAL Location: src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java Line No- 58 Change-Id: I4dd31ffcefe52ba8c6214ae6b78ac89846d7deee Issue-ID: VFC-1044 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service')
-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 e92da07a..08d90816 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
@@ -56,7 +56,7 @@ public abstract class ScaleManager {
JSONArray vms = queryVms.getJSONObject("data").getJSONArray("vms");
writeVmIdsToFile(vnfId, vms);
} catch(JSONException e) {
- LOG.error("function=beforeScaleOut, msg=recode current vms JSONException");
+ LOG.error("function=beforeScaleOut, msg=recode current vms JSONException", e);
}
}