summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter
diff options
context:
space:
mode:
authorThamlurRaju <thamlurraju468@gmail.com>2018-08-21 16:54:41 +0530
committerThamlurRaju <thamlurraju468@gmail.com>2018-08-21 16:54:41 +0530
commite169f2ee9beb3e98cafcb6d657f9b3ed536b6c12 (patch)
tree659598a791cd44a2122d9a464d1b8d4131b43bc8 /huawei/vnfmadapter
parent5171f2e2413f5c21c33d1ca01bc7117def6558ce (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=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 <thamlurraju468@gmail.com>
Diffstat (limited to 'huawei/vnfmadapter')
-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 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);
}