From e9165c4ec8399aaad8149f8ba46be50d94ae300a Mon Sep 17 00:00:00 2001 From: Sriniketh J <81156510+srini047@users.noreply.github.com> Date: Sun, 17 Mar 2024 13:12:14 +0530 Subject: [PATCH] fix: error message on missing auth function (#695) --- src/adapters/ws/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) })