Ho Ngoc Hai
2da333a95b
fix(api): add error handling to 29 CQRS handlers in admin, inquiries, leads, reviews
Add standardized try-catch error handling pattern to all command and
query handlers in the four priority modules:
- admin (15 handlers): commands + queries, added LoggerService injection
- inquiries (4 handlers): commands + queries
- leads (5 handlers): commands + queries
- reviews (5 handlers): commands + queries
Each handler now:
- Wraps execute() in try-catch
- Re-throws DomainException subclasses (NotFoundException, etc.)
- Logs infrastructure errors via LoggerService
- Throws InternalServerErrorException for unexpected failures
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-11 19:35:21 +07:00
..
2026-04-11 19:35:21 +07:00
2026-04-09 01:23:06 +07:00
2026-04-09 01:23:06 +07:00
2026-04-07 23:52:33 +07:00
2026-04-11 01:40:59 +07:00
2026-04-08 13:15:36 +07:00
2026-04-10 23:26:43 +07:00
2026-04-08 00:24:42 +07:00