aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-14 02:23:43 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-14 02:23:43 +0000
commitf980ba5734e2a81348f14905147519b26ef8d794 (patch)
tree19a606de8a17d9c320d94ef80a1f52d08f016c90 /core/s2smanager.lua
parent1b422e8f1d173e7f70db93cfec3ef499e0f9e37c (diff)
downloadprosody-f980ba5734e2a81348f14905147519b26ef8d794.tar.gz
prosody-f980ba5734e2a81348f14905147519b26ef8d794.zip
Print out the stanza also
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 16092ba8..530e3087 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -47,7 +47,8 @@ function send_to_host(from_host, to_host, data)
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