From 01615427ca2836ee6c79e940f8fe9ad024a91c88 Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Mon, 13 Sep 2021 15:29:41 +0000 Subject: [PATCH] fix: prevent deno deploy from crashing on stack capture #1088 --- src/rest/run_method.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rest/run_method.ts b/src/rest/run_method.ts index 46e1edc5d..eab56173d 100644 --- a/src/rest/run_method.ts +++ b/src/rest/run_method.ts @@ -33,6 +33,7 @@ export async function runMethod( }); const errorStack = new Error("Location:"); + // @ts-ignore Breaks deno deploy. Luca said add tsignore until it's fixed Error.captureStackTrace(errorStack); // For proxies we don't need to do any of the legwork so we just forward the request