Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
make audit log await and remove empty catch block
Matheus Nogueira0a54b09f1b03
diff --git a/backend/src/ee/services/honey-token/honey-token-service.ts b/backend/src/ee/services/honey-token/honey-token-service.tsindex c2e545cc0e..0748ef65dd 100644--- a/backend/src/ee/services/honey-token/honey-token-service.ts+++ b/backend/src/ee/services/honey-token/honey-token-service.ts@@ -1029,7 +1029,7 @@ export const honeyTokenServiceFactory = ({if (updatedToken) {void $sendTriggerNotification({ orgId: honeyTokenWithOrg.orgId, honeyToken, eventMetadata });- void auditLogService+ await auditLogService.createAuditLog({actor: {type: ActorType.UNKNOWN_USER,@@ -1051,7 +1051,6 @@ export const honeyTokenServiceFactory = ({}}})- .catch(() => {});}return { acknowledged: true };