client: Some logging changes

Mon, 07 Sep 2015 14:33:47 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 07 Sep 2015 14:33:47 +0100
changeset 17
610917f3ea97
parent 16
59f176aa3465
child 18
5913cc9d1b5b

client: Some logging changes

scansion/objects/client.lua file | annotate | diff | comparison | revisions
--- a/scansion/objects/client.lua	Mon Sep 07 14:33:33 2015 +0100
+++ b/scansion/objects/client.lua	Mon Sep 07 14:33:47 2015 +0100
@@ -43,7 +43,6 @@
 		local wait, done = async.waiter();
 		client.stream:hook("ready", function () print"aha" done() end);
 		client.stream:connect_client(client.jid, client.password);
-		print("waiting")
 		wait();
 		client.full_jid = client.stream.jid;
 	end;
@@ -67,6 +66,7 @@
 		client.stream:hook("stanza", stanza_handler, 100);
 		verse.add_task(stanza_timeout, function ()
 			if not expected_stanza then return; end
+			print("TIMEOUT")
 		end);
 	end;
 

mercurial