# HG changeset patch # User Matthew Wild # Date 1246281229 -3600 # Node ID 700ea94e176959f5c93bb095bbde402e9990ec4e # Parent cc20d6dfa32d09455b49287699edd02ab5d75c3b# Parent c727348c7e6376eae92c909f209dd9de967c3b5a Automated merge with http://waqas.ath.cx:8000/ diff -r cc20d6dfa32d -r 700ea94e1769 core/componentmanager.lua --- a/core/componentmanager.lua Mon Jun 29 15:26:04 2009 +0500 +++ b/core/componentmanager.lua Mon Jun 29 14:13:49 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