fides icon indicating copy to clipboard operation
fides copied to clipboard

Internal server errors are being swallowed in endpoints

Open allisonking opened this issue 2 years ago • 0 comments

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

  1. Run nox -s api
  2. Add a raise Exception('error') to one of the endpoints, i.e. in /api/v1/health
  3. 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.

allisonking avatar May 23 '22 16:05 allisonking