Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
michelle committed Mar 31, 2013
1 parent 5fbdaf0 commit 6060729
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/peer.js
Expand Up @@ -1406,8 +1406,8 @@ Peer.prototype._cleanup = function() {
* is waiting for an ID. */
Peer.prototype.connect = function(peer, options) {
if (this.disconnected) {
var err = new Error('This Peer has been disconnected from the server and');
err.type = 'peer-disconnected';
var err = new Error('This Peer has been disconnected from the server and can no longer make connections.');
err.type = 'server-disconnected';
this.emit('error', err);
return;
}
Expand Down

0 comments on commit 6060729

Please sign in to comment.