summaryrefslogtreecommitdiff
path: root/cli/js/web/console.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-05-29 13:02:36 +0100
committerGitHub <noreply@github.com>2020-05-29 14:02:36 +0200
commit49c70774012e929b3c77b808edc5a7908bcb6fa2 (patch)
tree40bc92223baab70b46bdf4f7a2f5d5edf7592308 /cli/js/web/console.ts
parentce246d8d85283af16250dcb5970eca6caf9cca6d (diff)
fix(cli/js/error_stack): Expose Error.captureStackTrace (#5254)
Diffstat (limited to 'cli/js/web/console.ts')
-rw-r--r--cli/js/web/console.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/js/web/console.ts b/cli/js/web/console.ts
index 0e17d2efb..4b5423631 100644
--- a/cli/js/web/console.ts
+++ b/cli/js/web/console.ts
@@ -948,7 +948,6 @@ export class Console {
name: "Trace",
message,
};
- // @ts-expect-error
Error.captureStackTrace(err, this.trace);
this.error((err as Error).stack);
};