diff --git a/src/adapters/ws/client.ts b/src/adapters/ws/client.ts index 2c20f4abb..62b3bcf95 100644 --- a/src/adapters/ws/client.ts +++ b/src/adapters/ws/client.ts @@ -75,7 +75,7 @@ class WsClientAdapter extends Adapter { }) client.on('error', (err: any) => { - const errMessage = `WebSocket client error on channel '${channel}'` + const errMessage = `Error: Authentication function not found at location auth/${this.serverName}. Expected function 'clientAuth'` this.emit('error', new Error(errMessage)) console.error(err) })