Permalink
Browse files

Fixed syntax error -.-

  • Loading branch information...
1 parent 0ad237d commit 7f5228abc338570ba43d1b2016f5137cc22776a3 @rauchg rauchg committed May 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/socket.io/transports/websocket.js
@@ -59,7 +59,7 @@ this.websocket = Client.extend({
this.connection.write('\u0000', 'binary');
this.connection.write(message, 'utf8');
this.connection.write('\uffff', 'binary');
- } catch(){
+ } catch(e){
this._onClose();
}
}

0 comments on commit 7f5228a

Please sign in to comment.