# HG changeset patch # User Matthew Wild # Date 1226629423 0 # Node ID c14ddd0912a2e376a952b58395a8d60349e300ea # Parent 43a9683bcd1958e7f1feeab39b157655f2938f3a Print out the stanza also diff -r 43a9683bcd19 -r c14ddd0912a2 core/s2smanager.lua --- a/core/s2smanager.lua Fri Nov 14 02:20:46 2008 +0000 +++ b/core/s2smanager.lua Fri Nov 14 02:23:43 2008 +0000 @@ -47,7 +47,8 @@ else host.sendq = { data }; end elseif host.type == "local" or host.type == "component" then log("error", "Trying to send a stanza to ourselves??") - log("error", "Traceback: "..get_traceback()); + log("error", "Traceback: %s", get_traceback()); + log("error", "Stanza: %s", stanza); else (host.log or log)("debug", "going to send stanza to "..to_host.." from "..from_host); -- FIXME