aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-11-12 13:33:46 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-11-12 13:33:46 +0500
commit22394b083237d23d96c95ee85823098ae77efd12 (patch)
tree2509baf52749a3bcbcfb94d0dda9376a0661c66e /core
parentc529f3ff76ae179dc075e63b5f68fb7a5e950680 (diff)
downloadprosody-22394b083237d23d96c95ee85823098ae77efd12.tar.gz
prosody-22394b083237d23d96c95ee85823098ae77efd12.zip
componentmanager: Improved logging for stanzas being bounced for unavailable components.
Diffstat (limited to 'core')
-rw-r--r--core/componentmanager.lua2
1 files changed, 1 insertions, 1 deletions
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