增加对websocket的异常处理
This commit is contained in:
parent
c5c71a7fd4
commit
3ad1567a60
@ -444,6 +444,7 @@ class Access extends Component {
|
||||
client.onstatechange = this.onClientStateChange;
|
||||
|
||||
client.onerror = this.onError;
|
||||
tunnel.onerror = this.onError;
|
||||
|
||||
// Get display div from document
|
||||
const display = document.getElementById("display");
|
||||
|
Loading…
Reference in New Issue
Block a user