# HG changeset patch # User Matthew Wild # Date 1263832317 0 # Node ID a82bd02d5918e8bd204ec3dd9a8cac5cdaa939bf # Parent 8c754c61c72e21638e5474d882807a9acc4ba5db stanza_router: Log the name of unhandled stanzas (thanks bear) diff -r 8c754c61c72e -r a82bd02d5918 core/stanza_router.lua --- a/core/stanza_router.lua Mon Jan 11 18:59:06 2010 +0500 +++ 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