Shortened log output for incoming stanzas and an added check.
[prosody.git] / core / xmlhandlers.lua
index 13bfacae391560b13e408069c93f62065782884b..3037a848517051f9d4bcc90252bd70f34ff5c816 100644 (file)
@@ -69,7 +69,7 @@ function init_xmlhandlers(session, streamopened)
                                                streamopened(session, attr);
                                                return;
                                        end
-                                       error("Client failed to open stream successfully, it sent tag "..name);
+                                       error("Client failed to open stream successfully");
                                end
                                if curr_ns == "jabber:client" and name ~= "iq" and name ~= "presence" and name ~= "message" then
                                        error("Client sent invalid top-level stanza");