From ef8c459b89fb64965072a187f4ddfaa977705bef Mon Sep 17 00:00:00 2001 From: leonard Date: Mon, 11 Dec 2023 15:42:39 +0100 Subject: [PATCH] fix: catch event.respondWith errors (#101) --- shared.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared.ts b/shared.ts index c065d55..0640e10 100644 --- a/shared.ts +++ b/shared.ts @@ -59,7 +59,7 @@ export async function getAquaRequestFromNativeRequest( status: getFinalizedStatusCode(res, 200), headers: getFinalizedHeaders(res), }), - ); + ).catch((_e) => {}); }, }, raw: req,