feat(ext/web): add globalThis.reportError() (#13799)

This commit is contained in:
Nayeem Rahman 2022-04-19 09:59:51 +01:00 committed by GitHub
parent a64e63c361
commit c30d95f2e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 93 additions and 17 deletions

3
cli/tests/testdata/report_error.ts vendored Normal file
View file

@ -0,0 +1,3 @@
console.log(1);
reportError(new Error("foo"));
console.log(2);