From f9f361102b3cdd733c9b3b268230e441c3d4e4cd Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 18 Jan 2010 16:31:57 +0000 Subject: stanza_router: Log the name of unhandled stanzas (thanks bear) --- core/stanza_router.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3