We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49d141 commit 27bd89aCopy full SHA for 27bd89a
lib/main.js
@@ -309,7 +309,7 @@ SockJS.prototype._transportClose = function(code, reason) {
309
};
310
311
SockJS.prototype._open = function() {
312
- debug('_open', this._transport.transportName, this.readyState);
+ debug('_open', this._transport && this._transport.transportName, this.readyState);
313
if (this.readyState === SockJS.CONNECTING) {
314
if (this._transportTimeoutId) {
315
clearTimeout(this._transportTimeoutId);
0 commit comments