diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-18 16:31:57 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-18 16:31:57 +0000 |
commit | f4e886e7177eaf24ac415e3b8ebc80af256a3232 (patch) | |
tree | 2a1e23081822dcd88c2c20a3cbadbaf7ba218ddf /core/stanza_router.lua | |
parent | 909e439525e41721abd91b227c7f9078aeda504b (diff) | |
download | prosody-f4e886e7177eaf24ac415e3b8ebc80af256a3232.tar.gz prosody-f4e886e7177eaf24ac415e3b8ebc80af256a3232.zip |
stanza_router: Log the name of unhandled stanzas (thanks bear)
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r-- | core/stanza_router.lua | 2 |
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 |