diff options
author | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-04-03 12:23:11 +0100 |
---|---|---|
committer | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-04-03 12:23:11 +0100 |
commit | 63084c36ae0654ed837bccee648ded26694fb66b (patch) | |
tree | 6c32ac36c709dc2253ba9e3b0b281233067ea7eb /src/main | |
parent | 01ade25ca96595b529842195d446a8608333bd43 (diff) |
Fix new Sonar code smell
Log the Exception for missing software versions to prevent a Sonar
violation.
Change-Id: I1a5da4357947a57c05f2d4a40b788999149d543c
Issue-ID: AAI-2281
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java b/src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java index d5ba793..870c8c3 100644 --- a/src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java +++ b/src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java @@ -221,6 +221,7 @@ public class VnfVendorImageExtractor { try { return createVendorImageConfigurations(serviceVfList, vnfConfigurationNode); } catch (IllegalArgumentException e) { + applicationLogger.error(ApplicationMsgs.INVALID_CSAR_FILE, e); throw new ToscaToCatalogException(e.getMessage()); } } |