From e169f2ee9beb3e98cafcb6d657f9b3ed536b6c12 Mon Sep 17 00:00:00 2001 From: ThamlurRaju Date: Tue, 21 Aug 2018 16:54:41 +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=AWOMyzufwGn37Jfbp59h&resolved=false&severities=CRITICAL Location: src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java Line No- 138 Change-Id: I99f7c03cf8978d555506a63fb8142aafe9b9eaff Issue-ID: VFC-1046 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') 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 3290ef3c..cec4ba39 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 @@ -136,7 +136,7 @@ public abstract class ScaleManager { return JSONArray.fromObject(fileContent); } } catch(IOException e) { - LOG.error("function=readVmIdsFile, msg=read vms from file IOException, filePath : {}", filePath); + LOG.error("function=readVmIdsFile, msg=read vms from file IOException, filePath : {}" + filePath, " Load File Exception : " + e); } catch(JSONException e) { LOG.error("function=readVmIdsFile, msg=read vms from file JSONException, fileContent : {}", fileContent); } -- cgit 1.2.3-korg