Describe the bug
The catch-all exception handler sends str(exc) directly to the API client. In production, this can expose file paths, database errors, stack trace fragments, and other sensitive internal details. Update the exceptions to more generic ones and avoid sharing sensitive information to the user.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
The catch-all exception handler sends str(exc) directly to the API client. In production, this can expose file paths, database errors, stack trace fragments, and other sensitive internal details. Update the exceptions to more generic ones and avoid sharing sensitive information to the user.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.