Diff

net/xmppserver_listener.lua @ 279:76bad8b64018

Merging.
author Tobias Markmann <tm@ayena.de>
date Mon, 10 Nov 2008 16:29:19 +0100
parent 232:20745f8f4cf1
child 330:d9d4c1de16ce
line wrap: on
line diff
--- a/net/xmppserver_listener.lua	Mon Nov 10 16:28:15 2008 +0100
+++ b/net/xmppserver_listener.lua	Mon Nov 10 16:29:19 2008 +0100
@@ -64,7 +64,7 @@
 		-- (I'm on a mission, no time to fix now)
 
 		-- Debug version --
-		local function handleerr() print("Traceback:", debug.traceback()); end
+		local function handleerr(err) print("Traceback:", err, debug.traceback()); end
 		session.stanza_dispatch = function (stanza) return select(2, xpcall(function () return core_process_stanza(session, stanza); end, handleerr));  end
 
 --		session.stanza_dispatch = function (stanza) return core_process_stanza(session, stanza); end