Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add more consistent HTTP errors
This commit fixes some status codes that can cause misunderstanding. Some errors were returning Bad Request (400) even when the user sends a correct request. The errors originating from the infrastructure or error during operations should raise Internal Server Error (500) as they are not expected. Signed-off-by: Kairo Araujo <[email protected]>
- Loading branch information