summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/main')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/ArtifactExternalServlet.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/ArtifactExternalServlet.java b/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/ArtifactExternalServlet.java
index a4e465eaf8..6975cd9941 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/ArtifactExternalServlet.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/ArtifactExternalServlet.java
@@ -1125,6 +1125,7 @@ public class ArtifactExternalServlet extends AbstractValidationsServlet {
}
} catch (ComponentException e) {
responseFormat = getComponentsUtils().getResponseFormat(e);
+ responseWrapper.setInnerElement(buildErrorResponse(responseFormat));
} finally {
getComponentsUtils().auditExternalDownloadArtifact(responseFormat,
new ResourceCommonInfo(resourceInstanceName, componentTypeValue),