From 3da4f718b26cd26b1642551235f630e5ed23db39 Mon Sep 17 00:00:00 2001 From: Stan Lagun Date: Mon, 6 Oct 2014 17:36:34 +0400 Subject: [PATCH] Exceptions get muted in Try-Finally Re-raise exception if no Catch block is present (as in Try-Finally) Change-Id: I6f1ad2ff48566ac45dbb3e391c7d583a43be24d5 Closes-Bug: #1377941 --- murano/dsl/virtual_exceptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/murano/dsl/virtual_exceptions.py b/murano/dsl/virtual_exceptions.py index 26c0184c..e079b9b0 100644 --- a/murano/dsl/virtual_exceptions.py +++ b/murano/dsl/virtual_exceptions.py @@ -123,6 +123,8 @@ class TryBlockMacro(expressions.DslExpression): raise finally: context.set_data(None, '?currentException') + else: + raise else: if self._else_block: self._else_block.execute(context, murano_class)