summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main/java
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2022-04-13 09:01:35 +0000
committerGerrit Code Review <gerrit@onap.org>2022-04-13 09:01:35 +0000
commit85bac8b7f51bb06183aa8757bfb3a76a707e0fce (patch)
treea137c658d2d42f024fd7f6b2fdedf34bb9f3a5e9 /csarvalidation/src/main/java
parentc136a9b00528de06efc7434d1afe00fe61af565f (diff)
parent8a25215fdc5a7d05c11b33d29d72165b7e686e37 (diff)
Merge "Logs has to be removed while throwing exceptions"
Diffstat (limited to 'csarvalidation/src/main/java')
-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);
}
}