Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improves error handling in database read operation
Adds proper error handling for database fetch operations: - Returns 404 status when resource not found - Returns 500 status for internal server errors - Implements async/await pattern for database calls Makes the API more robust and provides clearer error messages to clients
- Loading branch information