# HG changeset patch # User Matthew Wild # Date 1246281011 -3600 # Node ID c727348c7e6376eae92c909f209dd9de967c3b5a # Parent 9c6c7aa5dc6036ad3d9d3bb582c3134596696fb4# Parent df9d78544f3495acda49431c3a84d3dda5543a06 Merge with nolan diff -r 9c6c7aa5dc60 -r c727348c7e63 core/componentmanager.lua --- a/core/componentmanager.lua Sun Jun 28 22:29:17 2009 +0500 +++ b/core/componentmanager.lua Mon Jun 29 14:10:11 2009 +0100 @@ -17,6 +17,7 @@ local events_new = require "util.events".new; local st = require "util.stanza"; local hosts = hosts; +local serialize = require "util.serialization".serialize local pairs, type, tostring = pairs, type, tostring; @@ -75,7 +76,7 @@ log("debug", "%s stanza being handled by component: %s", stanza.name, host); component(origin, stanza, hosts[host]); else - log("error", "Component manager recieved a stanza for a non-existing component: " .. (stanza.attr.to or stanza)); + log("error", "Component manager recieved a stanza for a non-existing component: " .. (stanza.attr.to or serialize(stanza))); end end