ConvexAuth Uncaught Convex Error
[0] Hit error while running
auth:signIn:[0] Error [ConvexError]: [Request ID: 0d38fe217298c763] Server Error
[0] Uncaught ConvexError: INVALID_PASSWORD_PASSWORD_MISSING_NUMBER
[0] at validatePasswordRequirements [as validatePasswordRequirements] (../../convex/auth.ts:32:9)
...
[0] at validatePasswordRequirements [as validatePasswordRequirements] (../../convex/auth.ts:32:9) {
[0] data: 'INVALID_PASSWORD_PASSWORD_MISSING_NUMBER'
[0] }
It looks like the ConvexError is not communicated properly and is instead just a regular Error.
A really simplified example:
I throw this in my validation:
I log this:
It outputs:
Am doing something obviously wrong? Is this not expected to work?
Thanks for your help!
