Skip to content

Commit

Permalink
Merge branch 'main' into fix/conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala authored Sep 20, 2023
2 parents e89160e + 0785c75 commit b74779c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@dcl/sdk/src/network-transport/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export async function createClientTransport({ serverUrl }: ClientTransportConfig
console.error(e)
reject(e)
}
ws.onclose = () => {
reject(new Error('socket closed'))
}
} catch (err) {
reject(err)
}
Expand Down

0 comments on commit b74779c

Please sign in to comment.