This commit is contained in:
jarek committed 2026-01-20 15:39:08 +01:00
1 parent fe48d63164
commit a3cc26d958
35 files changed
+2045 -273

No files matched your search

+4 -2
View File
@@ -85,7 +85,8 @@ export async function audit(
await logAuditEvent(data);
} catch (error) {
// Don't let audit logging errors break the main operation
console.error('Failed to log audit event:', error);
const errorMsg = error instanceof Error ? error.message : String(error);
console.error('[Audit] Failed to log event:', errorMsg);
}
}
@@ -302,6 +303,7 @@ export async function auditAuth(
try {
await logAuditEvent(data);
} catch (error) {
console.error('Failed to log audit event:', error);
const errorMsg = error instanceof Error ? error.message : String(error);
console.error('[Audit] Failed to log event:', errorMsg);
}
}