From ec296f47a42e46c578fa8672e8b2705d1626eefe Mon Sep 17 00:00:00 2001 From: ThamlurRaju Date: Tue, 21 Aug 2018 15:13:28 +0530 Subject: 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 --- .../vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'huawei/vnfmadapter/VnfmadapterService/service/src/main') 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); } } -- cgit 1.2.3-korg