From 22394b083237d23d96c95ee85823098ae77efd12 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Thu, 12 Nov 2009 13:33:46 +0500 Subject: componentmanager: Improved logging for stanzas being bounced for unavailable components. --- core/componentmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/componentmanager.lua b/core/componentmanager.lua index 833b1fc0..a16c01d2 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -26,7 +26,7 @@ local NULL = {}; 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 -- cgit v1.2.3