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:
Martin Mágr
2014-09-15 13:37:06 +02:00
parent 76c20d0014
commit c076aa4164

View File

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