diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-07-30 22:06:31 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-07-30 22:06:31 -0400 |
commit | f2f766015a0e875605a24703c5f0e18751650fe8 (patch) | |
tree | 8fd4af2a26e6acec0acb8d92a19030bdf7cdba8a | |
parent | 55472eb02eaa5b88676a96e006f6838020f8ffe3 (diff) | |
download | vyos-cloud-init-f2f766015a0e875605a24703c5f0e18751650fe8.tar.gz vyos-cloud-init-f2f766015a0e875605a24703c5f0e18751650fe8.zip |
status_wrapper in main: fix use of print_exc when handling exception
-rw-r--r-- | ChangeLog | 1 | ||||
-rwxr-xr-x | bin/cloud-init | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -58,6 +58,7 @@ - add udev rules that identify ephemeral device on Azure (LP: #1411582) - _read_dmi_syspath: fix bad log message causing unintended exception - rsyslog: add additional configuration mode (LP: #1478103) + - status_wrapper in main: fix use of print_exc when handling exception 0.7.6: - open 0.7.6 - Enable vendordata on CloudSigma datasource (LP: #1303986) diff --git a/bin/cloud-init b/bin/cloud-init index 1d3e7ee3..d50ac694 100755 --- a/bin/cloud-init +++ b/bin/cloud-init @@ -506,7 +506,7 @@ def status_wrapper(name, args, data_d=None, link_d=None): except Exception as e: util.logexc(LOG, "failed of stage %s", mode) - print_exc("failed run of stage %s", mode) + print_exc("failed run of stage %s" mode) v1[mode]['errors'] = [str(e)] v1[mode]['finished'] = time.time() |