API route error handling
What is the expected behaviour returning rejected promises in an API route?
I do not see any errors in the logs, and the API returns a 503 status code. I was expecting an error message and a 500 status code.
I do not see any errors in the logs, and the API returns a 503 status code. I was expecting an error message and a 500 status code.