Michelle Bu 12 years ago
parent
commit
6060729230
2 changed files with 2 additions and 2 deletions
  1. 2 2
      dist/peer.js
  2. 0 0
      dist/peer.min.js

+ 2 - 2
dist/peer.js

@@ -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;
   }

File diff suppressed because it is too large
+ 0 - 0
dist/peer.min.js


Some files were not shown because too many files changed in this diff