fides
fides copied to clipboard
Internal server errors are being swallowed in endpoints
Bug Description
When there is an error in an endpoint, we do not get a log in the console about what it is.
Steps to Reproduce
- Run
nox -s api
- Add a
raise Exception('error')
to one of the endpoints, i.e. in/api/v1/health
- Navigate to the endpoint, which will display "Internal Server Error" in the browser, but nothing in the logs
Expected behavior
A stack trace with the error to show up in the logs
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- Version: main
- OS: macOS Monterey
- Python Version: 3.8
- Docker Version: 20.10.14
Additional context
Add any other context about the problem here.