From 0ebca9c158c87b28fb61974e9e36e645cf60494c Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 26 Feb 2015 14:02:37 -0500 Subject: status_wrapper: do not swallow errors --- bin/cloud-init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/cloud-init b/bin/cloud-init index 6c83c2e7..50bd929e 100755 --- a/bin/cloud-init +++ b/bin/cloud-init @@ -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() -- cgit v1.2.3