aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/xmlhandlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/xmlhandlers.lua b/core/xmlhandlers.lua
index 3037a848..13bfacae 100644
--- a/core/xmlhandlers.lua
+++ b/core/xmlhandlers.lua
@@ -69,7 +69,7 @@ function init_xmlhandlers(session, streamopened)
streamopened(session, attr);
return;
end
- error("Client failed to open stream successfully");
+ error("Client failed to open stream successfully, it sent tag "..name);
end
if curr_ns == "jabber:client" and name ~= "iq" and name ~= "presence" and name ~= "message" then
error("Client sent invalid top-level stanza");