stefanoS
Convex Community12mo ago
2 replies
stefano

Return more detailed errors to the client (Convex Auth)

I am using Convex Auth to authenticate the user. I'd like to return more detailed errors to the client (as they appear in the logs), maybe via a throw new ConvexError, is it possible?

I see in the Convex Dashboard, in the logs tab, that when a user enters the wrong password it is logged Invalid password. I'd like to know this and return a specific error in the client rather than a specific one. But right now I don't know if it is possible to do this. Thanks!
Was this page helpful?