summaryrefslogtreecommitdiffstats
path: root/huawei
diff options
context:
space:
mode:
Diffstat (limited to 'huawei')
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java8
1 files changed, 4 insertions, 4 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..ce4e29b0 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);
}
}
@@ -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;
}
@@ -136,9 +136,9 @@ 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);
+ LOG.error("function=readVmIdsFile, msg=read vms from file JSONException, fileContent : {}", fileContent, " JSON Exception : " + e);
}
return new JSONArray();
}