sessionmanager, s2smanager: Give sessions dummy data handlers that log when data...
[prosody.git] / core / componentmanager.lua
index 833b1fc054d3194953beb3b870f28a55554b9487..a16c01d2934a768008690b3364d6686d7b3cf7b8 100644 (file)
@@ -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