Skip to content

Commit

Permalink
fix: no webscoke empty url tip (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
xigongdaEricyang authored Nov 27, 2024
1 parent 235d477 commit ef67b54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/utils/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ef67b54

Please sign in to comment.