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: [email protected] <[email protected]> * fix: include actionType in error_processing translation and allow expanded content for error logs Co-Authored-By: [email protected] <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
95f7f03f0e
commit
7ff54b4a27
4 files changed
+258
-18
No files matched your search
@@ -4393,7 +4393,8 @@
|
||||
"assignment_type_manual": "Manual",
|
||||
"assignment_type_round_robin": "Round robin",
|
||||
"actor_impersonated_by": "Impersonator",
|
||||
"source": "Source"
|
||||
"source": "Source",
|
||||
"error_processing": "Unable to load details - {{actionType}}"
|
||||
},
|
||||
"error_loading_booking_logs": "Error loading booking logs",
|
||||
"no_audit_logs_found": "No audit logs found",
|
||||
|
||||
Reference in new issue
Block a user