summaryrefslogtreecommitdiffstats
path: root/csarvalidation
diff options
context:
space:
mode:
authorprakash.e@huawei.com <prakash.e@huawei.com>2022-04-11 16:43:11 +0530
committerprakash eswaramoorthy <prakash.e@huawei.com>2022-04-12 07:26:04 +0000
commit8a25215fdc5a7d05c11b33d29d72165b7e686e37 (patch)
tree7b5e0de325749e8547ba5844d5902bfd6e7149ce /csarvalidation
parent062000f0519aa00ff288139b2f22d28e2bc31998 (diff)
Logs has to be removed while throwing exceptions
https://sonarcloud.io/project/issues?resolved=false&severities=MAJOR&id=onap_vnfsdk-validation&open=AW6lcX_CwQN7qqDOuZdy Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: Ifd98abaab869d4df71afe9f2eef4a9f8f1268aec
Diffstat (limited to 'csarvalidation')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
index 2e99be3..c39419e 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
@@ -270,8 +270,7 @@ public class VTPValidateCSAR extends OnapCommand {
setOperationResult(validation);
} catch (Exception e) {
- LOG.error(e.getMessage(), e);
- throw new OnapCommandExecutionFailed(e.getMessage());
+ throw new OnapCommandExecutionFailed(e.getMessage(), e);
}
}