Just reraise
This patch removes hidding of traceback by reraising step exceptions with SequenceError. It will make debugging easier. Change-Id: Ifdb887b8d7cf2c226d7722abf414bdf5ee3628cd
This commit is contained in:
@@ -41,7 +41,7 @@ class Step(object):
|
||||
state = utils.state_message(self.title, 'ERROR', 'red')
|
||||
sys.stdout.write('%s\n' % state)
|
||||
sys.stdout.flush()
|
||||
raise SequenceError(str(ex))
|
||||
raise
|
||||
else:
|
||||
state = utils.state_message(self.title, 'DONE', 'green')
|
||||
sys.stdout.write('%s\n' % state)
|
||||
|
||||
Reference in New Issue
Block a user