mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
don't emit errors when we are reconnecting
This commit is contained in:
2
dist/socket.io.js
vendored
2
dist/socket.io.js
vendored
@@ -1529,7 +1529,7 @@
|
||||
if (xhr.status == 200) {
|
||||
complete(xhr.responseText);
|
||||
} else {
|
||||
self.onError(xhr.responseText);
|
||||
!self.reconnecting && self.onError(xhr.responseText);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
2
dist/socket.io.min.js
vendored
2
dist/socket.io.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -141,7 +141,7 @@
|
||||
if (xhr.status == 200) {
|
||||
complete(xhr.responseText);
|
||||
} else {
|
||||
self.onError(xhr.responseText);
|
||||
!self.reconnecting && self.onError(xhr.responseText);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user