mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 18:27:36 +00:00
feat: error propagation for quic client on backend
This commit is contained in:
@@ -93,6 +93,7 @@ export const pingGatewayAndVerify = async ({
|
|||||||
let lastError: Error | null = null;
|
let lastError: Error | null = null;
|
||||||
const quicClient = await createQuicConnection(relayHost, relayPort, tlsOptions, identityId, orgId).catch((err) => {
|
const quicClient = await createQuicConnection(relayHost, relayPort, tlsOptions, identityId, orgId).catch((err) => {
|
||||||
throw new BadRequestError({
|
throw new BadRequestError({
|
||||||
|
message: (err as Error)?.message,
|
||||||
error: err as Error
|
error: err as Error
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user