Skip to content

Commit

Permalink
fix: error message on missing auth function (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
srini047 authored Mar 17, 2024
1 parent 490ffae commit e9165c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/ws/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit e9165c4

Please sign in to comment.