Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed a sys.log

  • Loading branch information...
commit f5454388354abc1b97b73e3f8755b42b9cca314e 1 parent 7fa15b9
@substack authored
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()
- );
+ ));
});
}
})
Please sign in to comment.
Something went wrong with that request. Please try again.