# HG changeset patch # User Matthew Wild # Date 1263832317 0 # Node ID 2a80ba15c2109cbb2811968ab8668a1c584b8b0e # Parent 66f60e69567b4824df6efcd5f3190e41a496944e stanza_router: Log the name of unhandled stanzas (thanks bear) diff -r 66f60e69567b -r 2a80ba15c210 core/stanza_router.lua --- a/core/stanza_router.lua Fri Jan 15 18:30:33 2010 +0100 +++ b/core/stanza_router.lua Mon Jan 18 16:31:57 2010 +0000 @@ -191,6 +191,6 @@ 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