summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-03-13 17:39:15 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-03-18 16:52:39 +0000
commitccd1091289c20f3834610d344b270b46cc8d90c5 (patch)
treeafcfe2e7b87ea7f7d6051a1997c157f2b68e3510 /components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py
parent6afa8a4b2ef4f6fa01e3858ed192bf99bea18778 (diff)
Propagate exceptions correctly
Change-Id: Idaf66eeaa6e57d27c576099fd6ffdeb8b6d8d6c6 Issue-ID: CCSDK-1120 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py b/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py
index fce7c3249..4cf635afe 100644
--- a/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py
+++ b/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py
@@ -42,5 +42,5 @@ class DescriptionExample(AbstractRAProcessor):
return None
def recover(self, runtime_exception, resource_assignment):
- print "NoOp"
- return None
+ print self.addError(runtime_exception.getMessage())
+ return None \ No newline at end of file