Thu, 12 Nov 2009 13:33:46 +0500
componentmanager: Improved logging for stanzas being bounced for unavailable components.
core/componentmanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/componentmanager.lua Sun Nov 08 15:25:03 2009 +0000 +++ b/core/componentmanager.lua Thu Nov 12 13:33:46 2009 +0500 @@ -26,7 +26,7 @@ module "componentmanager" local function default_component_handler(origin, stanza) - log("warn", "Stanza being handled by default component, bouncing error"); + log("warn", "Stanza being handled by default component; bouncing error for: %s", stanza:top_tag()); if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then origin.send(st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable")); end