mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 16:30:08 +00:00
Merge pull request #1109 from discordeno/deploy-stack-error
fix: prevent deno deploy from crashing on stack capture #1088
This commit is contained in:
@@ -33,6 +33,7 @@ export async function runMethod<T = any>(
|
||||
});
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user