diff options
author | Scott Moser <smoser@ubuntu.com> | 2010-08-09 17:19:00 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2010-08-09 17:19:00 -0400 |
commit | 6f2f34bb39880228802a1b4c78c945a4675209e0 (patch) | |
tree | d31af5b42f02be17dfe32e3a5287be35af45dc06 /cloudinit | |
parent | 449239e4ffa660a5dd3f323569164a3ac46d3e98 (diff) | |
download | vyos-cloud-init-6f2f34bb39880228802a1b4c78c945a4675209e0.tar.gz vyos-cloud-init-6f2f34bb39880228802a1b4c78c945a4675209e0.zip |
cloud-init-cfg: log warning with traceback on failure of a config module
Previously, all you would get was a warning to the console on config
module failure. This changes to get a stack trace of the failure to the
console, which is much easier for debugging.
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/CloudConfig/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/__init__.py b/cloudinit/CloudConfig/__init__.py index 874f8d0a..c8d3e96f 100644 --- a/cloudinit/CloudConfig/__init__.py +++ b/cloudinit/CloudConfig/__init__.py @@ -56,6 +56,5 @@ class CloudConfig(): self.cloud.sem_and_run("config-" + name, freq, handler, [ name, self.cfg, self.cloud, cloudinit.log, args ]) except: - cloudinit.log.debug(traceback.format_exc()) raise |