aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
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
commitf9f361102b3cdd733c9b3b268230e441c3d4e4cd (patch)
tree5469a7ac933bf14ac62c86b4ba3721f8fcdb2b39 /core/stanza_router.lua
parent8f18928543332ec82ac92f3a551a719cca786785 (diff)
downloadprosody-f9f361102b3cdd733c9b3b268230e441c3d4e4cd.tar.gz
prosody-f9f361102b3cdd733c9b3b268230e441c3d4e4cd.zip
stanza_router: Log the name of unhandled stanzas (thanks bear)
Diffstat (limited to 'core/stanza_router.lua')
-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 ad312b85..ceacdf6f 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