The delete user operation failed silently without throwing any error message.
I'm trying to delete users from the system. The issue is that they have relationships in the database. Initially, when I was working on the backend, they weren't being deleted properly. Today I realized I needed to handle their deletion by implementing a pre-delete hook in the Better Auth configuration. So you have any idea how to have proper error handling, so I could have better development experience. The current user deletion code works, but I think it's problematic to have to consider maintenance timing, as it's a potential issue waiting to happen.
0 Replies