From ef67b547d7879f33afc338ae1f78f0d6f4858ffe Mon Sep 17 00:00:00 2001 From: Rivery <9858560+xigongdaEricyang@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:29:43 +0800 Subject: [PATCH] fix: no webscoke empty url tip (#810) --- app/utils/websocket.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/utils/websocket.ts b/app/utils/websocket.ts index 51498d87..d44f1d5f 100644 --- a/app/utils/websocket.ts +++ b/app/utils/websocket.ts @@ -135,8 +135,9 @@ export class NgqlRunner { } = payload; if (!url) { logoutFun?.(); - message.error('WebSocket URL is empty'); - return Promise.reject('WebSocket URL is empty'); + console.error('WebSocket URL is empty'); + // return Promise.reject('WebSocket URL is empty'); + return; } if (this.socketConnectingPromise) {