stefano
stefano3w ago

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!
2 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
sshader
sshader3w ago
GitHub
Cleanly handling expected errors with Password provider · Issue #12...
There are a couple of posts on the discord about this but doesn't seem to be any answer. In short, it's really unclear how to properly handle expected (application) errors. These types of e...

Did you find this page helpful?