mirror of
https://github.com/Equicord/Equicord.git
synced 2025-05-11 01:45:36 +02:00
Testing
This commit is contained in:
parent
b602b1634b
commit
7221fbcd3b
2 changed files with 7 additions and 16 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue