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
This commit is contained in:
Stan Lagun 2014-10-06 17:36:34 +04:00
parent 6c26981453
commit 3da4f718b2

View File

@ -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)