Software /
code /
prosody
Diff
core/s2smanager.lua @ 256:c14ddd0912a2
Print out the stanza also
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 14 Nov 2008 02:23:43 +0000 |
parent | 255:43a9683bcd19 |
child | 257:762274c98040 |
line wrap: on
line diff
--- 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