aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-18 16:31:57 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-18 16:31:57 +0000
commitf4e886e7177eaf24ac415e3b8ebc80af256a3232 (patch)
tree2a1e23081822dcd88c2c20a3cbadbaf7ba218ddf
parent909e439525e41721abd91b227c7f9078aeda504b (diff)
downloadprosody-f4e886e7177eaf24ac415e3b8ebc80af256a3232.tar.gz
prosody-f4e886e7177eaf24ac415e3b8ebc80af256a3232.zip
stanza_router: Log the name of unhandled stanzas (thanks bear)
-rw-r--r--core/stanza_router.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index 00c37ed7..b60ff2b5 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -191,6 +191,6 @@ function core_route_stanza(origin, stanza)
log("debug", "Routing outgoing stanza for %s to %s", from_host, host);
send_s2s(from_host, host, stanza);
else
- log("warn", "received stanza from unhandled connection type: %s", origin.type);
+ log("warn", "received %s stanza from unhandled connection type: %s", tostring(stanza.name), tostring(origin.type));
end
end