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
Feat: Silent integration errors
Daniel Hougaard9506b60d0219
diff --git a/backend/src/services/integration-auth/integration-sync-secret.ts b/backend/src/services/integration-auth/integration-sync-secret.tsindex 287722d950..70e3435a2a 100644--- a/backend/src/services/integration-auth/integration-sync-secret.ts+++ b/backend/src/services/integration-auth/integration-sync-secret.ts@@ -454,7 +454,9 @@ const syncSecretsAWSParameterStore = async ({}) => {let response: { isSynced: boolean; syncMessage: string } | null = null;- if (!accessId) return null;+ if (!accessId) {+ throw new Error("AWS access ID is required");+ }const config = new AWS.Config({region: integration.region as string,diff --git a/backend/src/services/secret/secret-queue.ts b/backend/src/services/secret/secret-queue.tsindex ba09994949..ac27d912f7 100644--- a/backend/src/services/secret/secret-queue.ts+++ b/backend/src/services/secret/secret-queue.ts@@ -562,8 +562,8 @@ export const secretQueueFactory = ({await integrationDAL.updateById(integration.id, {lastSyncJobId: job.id,lastUsed: new Date(),- syncMessage: response?.syncMessage || "",- isSynced: response?.isSynced || true+ syncMessage: response?.syncMessage ?? "",+ isSynced: response?.isSynced ?? true});} catch (err) {logger.info("Secret integration sync error: %o", err);