diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-16 20:22:16 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-16 20:22:16 -0700 |
commit | 71a661de85dc910c82c6769430232b555a86198a (patch) | |
tree | 5d1511d83b56054bdcb4767977956508061e9c17 /cloudinit | |
parent | 005ff658c6f301303269e14dfef4c27ada5c3982 (diff) | |
download | vyos-cloud-init-71a661de85dc910c82c6769430232b555a86198a.tar.gz vyos-cloud-init-71a661de85dc910c82c6769430232b555a86198a.zip |
Update error messaging for when importing/registring a part-handler fails
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/handlers/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/handlers/__init__.py b/cloudinit/handlers/__init__.py index 0ef704f7..3944c661 100644 --- a/cloudinit/handlers/__init__.py +++ b/cloudinit/handlers/__init__.py @@ -141,7 +141,8 @@ def walker_handle_handler(pdata, _ctype, _filename, payload): handlers.register(mod) call_begin(mod, pdata['data'], frequency) except: - util.logexc(LOG, "Failed at registered python file: %s", modfname) + util.logexc(LOG, ("Failed at registering python file: %s" + " (part handler %s)"), modfname, curcount) def _extract_first_or_bytes(blob, size): |