Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added logger to vault app connection for debug

=293bbfb98114
diff --git a/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts b/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
index 722bf38ebd..82cc463ba2 100644
--- a/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
+++ b/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
@@ -222,6 +222,7 @@ export const getHCVaultAccessToken = async (
return tokenResp.data.auth.client_token;
} catch (e: unknown) {
+ logger.error(e, "Failed to validate connection");
throw new BadRequestError({
message: "Unable to validate connection: verify credentials"
});