summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java
index b004858..c2f329a 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/VTPValidateCSARBase.java
@@ -57,8 +57,8 @@ public abstract class VTPValidateCSARBase extends OnapCommand {
this.validateCSAR(csar);
} catch (Exception e) {
- LOG.error("{}: Failed to validate CSAR {}", this.getVnfReqsNo(), e);
- throw new OnapCommandExecutionFailed(e.getMessage());
+ String errorMsg = this.getVnfReqsNo() + ": Failed to validate CSAR " + e;
+ throw new OnapCommandExecutionFailed(errorMsg);
}
for (CSARError e: this.errors) {