Skip to content
Browse files

removed a sys.log

  • Loading branch information...
1 parent 7fa15b9 commit f5454388354abc1b97b73e3f8755b42b9cca314e @substack committed May 9, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/handshake.js
View
5 lib/handshake.js
@@ -87,9 +87,10 @@ exports.security = function (rfb, opts) {
.word32be('msgLen')
.buffer('msg', 'msgLen')
.tap(function (vars) {
- sys.log('Security handshake failed with message: '
+ rfb.emit('error', new Error(
+ 'Security handshake failed with message: '
+ vars.msg.toString()
- );
+ ));
});
}
})

0 comments on commit f545438

Please sign in to comment.
Something went wrong with that request. Please try again.