StompMessagingClient抛出错误
This commit is contained in:
parent
ae2b97d0fa
commit
100ddafc75
@ -5356,6 +5356,7 @@ class StompMessagingClient extends MessageClient {
|
||||
// websocket错误处理
|
||||
this.cli.onWebSocketError = (err) => {
|
||||
console.error('websocket错误', err);
|
||||
this.emit('disconnected', '');
|
||||
};
|
||||
this.cli.activate();
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "graphic-pixi",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"description": "基于pixijs的图形应用、绘制应用框架",
|
||||
"productName": "Graphic-pixi",
|
||||
"author": "walker <shengxuqiang@joylink.club>",
|
||||
|
@ -45,6 +45,7 @@ export class StompMessagingClient extends MessageClient {
|
||||
// websocket错误处理
|
||||
this.cli.onWebSocketError = (err: Event) => {
|
||||
console.error('websocket错误', err);
|
||||
this.emit('disconnected', '');
|
||||
};
|
||||
|
||||
this.cli.activate();
|
||||
|
Loading…
Reference in New Issue
Block a user