Skip to content

Commit 266602b

Browse files
committed
fix test
1 parent 933c265 commit 266602b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/v1/internal/browser/browser-channel.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ export default class WebSocketChannel {
5151
// All connection errors are not sent to the error handler
5252
// we must also check for dirty close calls
5353
this._ws.onclose = function (e) {
54+
console.error('onclose', e)
5455
if (!e.wasClean) {
5556
self._handleConnectionError()
5657
}
5758
self._open = false
59+
console.log('this._open', this._open, self._open)
5860
}
5961
this._ws.onopen = function () {
6062
// Connected! Cancel the connection timeout

0 commit comments

Comments
 (0)