summaryrefslogtreecommitdiff
path: root/cloud-init-cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud-init-cfg.py')
-rwxr-xr-xcloud-init-cfg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloud-init-cfg.py b/cloud-init-cfg.py
index c29efd92..eb875182 100755
--- a/cloud-init-cfg.py
+++ b/cloud-init-cfg.py
@@ -22,6 +22,7 @@ import cloudinit
import cloudinit.CloudConfig
import logging
import os
+import traceback
def Usage(out = sys.stdout):
out.write("Usage: %s name\n" % sys.argv[0])
@@ -95,6 +96,7 @@ def main():
(name, freq, run_args ))
cc.handle(name, run_args, freq=freq)
except:
+ log.warn(traceback.format_exc())
err("config handling of %s, %s, %s failed\n" %
(name,freq,run_args), log)
failures.append(name)