summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-01-25 19:43:16 +0000
committerGerrit Code Review <review@openstack.org>2023-01-25 19:43:16 +0000
commit8b14ff2f34247485d4c464f8e6e87f0c31dbcb39 (patch)
treec8de0e96acd9847256083fb003887ab5f63018d5
parenta7ac8f00a27fee74ac704958eb0872d3afee37e6 (diff)
parent53fa8c37497e51d1c40b083790c2d40c71fee3ab (diff)
downloadheat-8b14ff2f34247485d4c464f8e6e87f0c31dbcb39.tar.gz
Merge "Explicitly pass error kwarg in nested StackValidationFailed"
-rw-r--r--heat/engine/resources/stack_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/engine/resources/stack_resource.py b/heat/engine/resources/stack_resource.py
index 5b491888a..d7129dad0 100644
--- a/heat/engine/resources/stack_resource.py
+++ b/heat/engine/resources/stack_resource.py
@@ -78,7 +78,7 @@ class StackResource(resource.Resource):
except Exception as ex:
path = "%s<%s>" % (self.name, self.template_url)
raise exception.StackValidationFailed(
- ex, path=[self.stack.t.RESOURCES, path])
+ error=ex, path=[self.stack.t.RESOURCES, path])
@property
def template_url(self):