This commit is contained in:
thororen1234 2024-07-18 16:42:27 -04:00
parent b602b1634b
commit 7221fbcd3b
2 changed files with 7 additions and 16 deletions

View file

@ -288,16 +288,7 @@ 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);
} else {
report.ignoredErrors.push(e.message);
}
});
page.on("pageerror", e => console.error("[Page Error]", e.message));
async function reporterRuntime(token: string) {
Vencord.Webpack.waitFor(