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>
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);
}
}