feat: error propagation for quic client on backend

This commit is contained in:
=
2025-03-23 22:28:19 +05:30
parent 54b13a9daa
commit 61591742e4

View File

@@ -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
});
});