Issue Description
The get_ticket_audit_logs method in backend/services/audit_service.py directly calls Supabase without any try/except wrapper. If the database query fails, the exception propagates unhandled to the caller.
Expected Fix
Wrap the supabase query in a try/except block and raise AuditLogAccessError on failure.
Files to Modify
- backend/services/audit_service.py (lines 15-22)
Issue Description
The get_ticket_audit_logs method in backend/services/audit_service.py directly calls Supabase without any try/except wrapper. If the database query fails, the exception propagates unhandled to the caller.
Expected Fix
Wrap the supabase query in a try/except block and raise AuditLogAccessError on failure.
Files to Modify