status_wrapper: do not swallow errors

This commit is contained in:
Scott Moser 2015-02-26 14:02:37 -05:00
parent 98e1809aea
commit 5270636d9a
1 changed files with 2 additions and 0 deletions

View File

@ -505,6 +505,8 @@ def status_wrapper(name, args, data_d=None, link_d=None):
v1[mode]['errors'] = [str(e) for e in errors]
except Exception as e:
util.logexc(LOG, "failed of stage %s", mode)
print_exc("failed run of stage %s", mode)
v1[mode]['errors'] = [str(e)]
v1[mode]['finished'] = time.time()