summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/handlers/__init__.py3
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):