fixing Logger usage Issue 23/61523/1
authorThamlurRaju <thamlurraju468@gmail.com>
Tue, 21 Aug 2018 09:59:04 +0000 (15:29 +0530)
committerThamlurRaju <thamlurraju468@gmail.com>
Tue, 21 Aug 2018 09:59:04 +0000 (15:29 +0530)
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=AWOMyzufwGn37Jfbp59g&resolved=false&severities=CRITICAL
Location:
src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java
Line No- 79

Change-Id: I00252cd44185c604a5a73de59304ecdafda0ce05
Issue-ID: VFC-1045
Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/csm/vnf/ScaleManager.java

index 08d9081..3290ef3 100644 (file)
@@ -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;
     }