Obliterate Sentry

This commit is contained in:
Nuckyz 2024-06-28 18:17:38 -03:00
parent e4bf71784e
commit 62485e8694
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
3 changed files with 98 additions and 42 deletions

View file

@ -289,6 +289,8 @@ page.on("console", async e => {
page.on("error", e => console.error("[Error]", e.message));
page.on("pageerror", e => {
if (e.message.includes("Sentry successfully disabled")) return;
if (!e.message.startsWith("Object") && !e.message.includes("Cannot find module")) {
console.error("[Page Error]", e.message);
report.otherErrors.push(e.message);