From 8a25215fdc5a7d05c11b33d29d72165b7e686e37 Mon Sep 17 00:00:00 2001 From: "prakash.e@huawei.com" Date: Mon, 11 Apr 2022 16:43:11 +0530 Subject: 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 Change-Id: Ifd98abaab869d4df71afe9f2eef4a9f8f1268aec --- csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'csarvalidation') 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); } } -- cgit 1.2.3-korg