diff options
Diffstat (limited to 'catalog-be/src/main')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/ArtifactExternalServlet.java | 1 |
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),
|