Files
cal.diy/apps/web/public
Hariom BalharaandDevin AI 7ff54b4a27 feat: add graceful error handling for audit log enrichment (#27142)
* feat: add graceful error handling for audit log enrichment

- Add hasError field to EnrichedAuditLog type
- Create buildFallbackAuditLog() method for failed enrichments
- Wrap enrichAuditLog() in try-catch to handle errors gracefully
- Add booking_audit_action.error_processing translation key
- Update BookingHistory.tsx to show warning icon for error logs
- Hide 'Show details' button for logs with hasError
- Add comprehensive test cases for error handling scenarios

Co-Authored-By: hariom@cal.com <hariombalhara@gmail.com>

* fix: include actionType in error_processing translation and allow expanded content for error logs

Co-Authored-By: hariom@cal.com <hariombalhara@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-01-23 13:33:50 +05:30
..
2022-04-15 08:54:09 +00:00
2022-07-28 13:58:26 -06:00
2023-05-22 21:53:37 +00:00
2022-09-06 16:58:16 -06:00
2023-09-05 19:56:02 +02:00
2022-02-10 14:22:45 -07:00
2022-02-10 14:22:45 -07:00
2022-02-10 14:22:45 -07:00
2022-02-18 10:33:18 -07:00
2023-11-28 14:52:53 +00:00
2022-02-10 14:22:45 -07:00
2022-02-10 14:22:45 -07:00
2024-04-17 11:09:11 -04:00
2023-04-12 23:10:23 -03:00