Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 9c8a5d3

Browse files
authored
fix: Improve error message on invalid JWT (#438)
1 parent 2b4051f commit 9c8a5d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RealtimeClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export default class RealtimeClient {
346346
if (!valid) {
347347
this.log(
348348
'auth',
349-
`provided token has expired, not sending it to realtime`
349+
`InvalidJWTToken: Invalid value for JWT claim "exp" with value ${parsed.exp}`
350350
)
351351
return
352352
}

0 commit comments

Comments
 (0)