CSCI-GA-2820-FA23-003 / promotions

NYU DevOps Promotions Service Fall 2023-003
Apache License 2.0
1 stars 0 forks source link

500 errors when user provide bad data #114

Open Jiajun-Jiao opened 7 months ago

Jiajun-Jiao commented 7 months ago

Describe the bug When bad data are given to the service, no 500 errors should be returned

To Reproduce Steps to reproduce the behavior:

  1. Go to any API endpoint
  2. Provide bad data
  3. Get 500 error

Expected behavior 500 error should be caught and another error should be thrown.

Observed behavior 500 error along with detail log is outputed to the user.

Screenshots

image.png