From 35d5de6118d9fa3a45a4e024d083decacea07479 Mon Sep 17 00:00:00 2001 From: vasraz Date: Tue, 8 Nov 2022 12:22:43 +0000 Subject: Improve error reporting when onboarding a VSP and storage is full Signed-off-by: Vasyl Razinkov Change-Id: Id349e26c48b9047ab746aa90e8ad88e0296a8b6f Issue-ID: SDC-4256 --- .../sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openecomp-be/api') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java index c4b55e5b4b..acbb0cdd03 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/OrchestrationTemplateCandidateImpl.java @@ -236,7 +236,7 @@ public class OrchestrationTemplateCandidateImpl implements OrchestrationTemplate artifactInfo = artifactStorageManager.upload(vspId, versionId, inputStream); } catch (final Exception e) { deleteTempFile(tempArtifactPath); - LOGGER.error("Package Size Reducer not configured", e); + LOGGER.error("Failed to upload artifact", e); throw new ArtifactStorageException(ERROR_HAS_OCCURRED_WHILE_PERSISTING_THE_ARTIFACT.formatMessage(filename)); } -- cgit 1.2.3-korg