From 82c94daf74c08f111f6ce31c832df3f5583b14f7 Mon Sep 17 00:00:00 2001 From: olegb Date: Sun, 3 Jun 2018 07:55:57 +0300 Subject: Error pop-up contain empty/internal information Issue-ID: SDC-1393 Change-Id: Ibb60e21431bb886dd7dd499202cf226af3e2465d Signed-off-by: Oleg Beltz --- .../process/OrchestrationTemplateProcessCsarHandler.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'openecomp-be/backend') diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/process/OrchestrationTemplateProcessCsarHandler.java b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/process/OrchestrationTemplateProcessCsarHandler.java index 4d92ee87c3..73c2a425dd 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/process/OrchestrationTemplateProcessCsarHandler.java +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/process/OrchestrationTemplateProcessCsarHandler.java @@ -75,10 +75,6 @@ public class OrchestrationTemplateProcessCsarHandler } catch (CoreException e) { LOGGER.error(e.getMessage()); response.addErrorMessageToMap(e.code().id(), e.code().message(),ErrorLevel.ERROR); - } catch (IOException ioe) { - LOGGER.error(ioe.getMessage()); - ErrorCode errorCode = new GeneralErrorBuilder(ioe.getMessage()).build(); - response.addErrorMessageToMap(errorCode.id(), errorCode.message(),ErrorLevel.ERROR); } } else { if (!uploadFileResponse.getErrors().isEmpty()) { @@ -91,7 +87,7 @@ public class OrchestrationTemplateProcessCsarHandler private void processCsar(VspDetails vspDetails, FileContentHandler fileContentHandler, OrchestrationTemplateCandidateData candidateData, - OrchestrationTemplateActionResponse response) throws IOException { + OrchestrationTemplateActionResponse response) { response.setFileNames(new ArrayList<>(fileContentHandler.getFileList())); Map> errors = validateCsar(fileContentHandler); toscaTreeManager.createTree(); -- cgit 1.2.3-korg