Correct reraising of exception
when an exception was caught and rethrown, it should call 'raise' without any arguments. Change-Id: Ifedddb352910f8c499c0ca36c2377567c59c1de5
This commit is contained in:
parent
617e65ac03
commit
df9475bad6
@ -80,8 +80,6 @@ class UnitTest(stressaction.StressAction):
|
||||
|
||||
try:
|
||||
self.run_core()
|
||||
except Exception as e:
|
||||
raise e
|
||||
finally:
|
||||
if (CONF.stress.leave_dirty_stack is False
|
||||
and self.class_setup_per == SetUpClassRunTime.action):
|
||||
|
Loading…
Reference in New Issue
Block a user