Skip to content

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

feat: error propagation for quic client on backend

=61591742e4c8
diff --git a/backend/src/lib/gateway/index.ts b/backend/src/lib/gateway/index.ts
index 118283f643..84d801ddae 100644
--- a/backend/src/lib/gateway/index.ts
+++ b/backend/src/lib/gateway/index.ts
@@ -93,6 +93,7 @@ export const pingGatewayAndVerify = async ({
let lastError: Error | null = null;
const quicClient = await createQuicConnection(relayHost, relayPort, tlsOptions, identityId, orgId).catch((err) => {
throw new BadRequestError({
+ message: (err as Error)?.message,
error: err as Error
});
});