From 6d565ec0e9405f3ec8fd627186b2d1cf4587e686 Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Mon, 16 Jul 2012 14:34:54 +1000 Subject: [PATCH] debug travis error with killKlient --- test/core-KillKlient.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/core-KillKlient.js b/test/core-KillKlient.js index a75d3ee..f17a62f 100644 --- a/test/core-KillKlient.js +++ b/test/core-KillKlient.js @@ -12,7 +12,10 @@ describe('KillKlient request', function() { X = display.client; done(); }); - client.on('error', done); + client.on('error', function(err) { + console.log(err); + done(err); + }); }); afterEach(function(done) {