diff options
author | Oleg Mitsura <oleg.mitsura@amdocs.com> | 2019-05-23 14:11:55 -0400 |
---|---|---|
committer | Oleg Mitsura <oleg.mitsura@amdocs.com> | 2019-05-23 14:11:55 -0400 |
commit | 83c8632f43c147a9471a8bef7df563e931571802 (patch) | |
tree | 69e986109c1b0cb1a6493faff0c7e931f2ef0eb2 /ms/controllerblueprints/modules | |
parent | d5739fde3a668c4f657ea900b93377e17743202c (diff) |
Include orig err in CBA upload errmsg
Issue-ID: CCSDK-1363
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I064a9d8654e0ccd612b60f9a3a195980a0c16d0f
Diffstat (limited to 'ms/controllerblueprints/modules')
-rw-r--r-- | ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/service/BluePrintImportService.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/service/BluePrintImportService.kt b/ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/service/BluePrintImportService.kt index a3e9cd103..5f6505309 100644 --- a/ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/service/BluePrintImportService.kt +++ b/ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/service/BluePrintImportService.kt @@ -85,7 +85,7 @@ class BluePrintImportService(private val parentServiceTemplate: ServiceTemplate, serviceTemplate = ServiceTemplateUtils.getServiceTemplate(importDefinition.file) } } catch (e: Exception) { - throw BluePrintException("failed to populate service template for ${importDefinition.file}", e) + throw BluePrintException("failed to populate service template for ${importDefinition.file} original error: ${e.message}", e) } if (serviceTemplate == null) { throw BluePrintException("failed to populate service template for : ${importDefinition.file}") @@ -94,4 +94,4 @@ class BluePrintImportService(private val parentServiceTemplate: ServiceTemplate, } -}
\ No newline at end of file +} |