mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix Page Error
This commit is contained in:
parent
425c8e807b
commit
eb054f3f57
1 changed files with 1 additions and 1 deletions
|
@ -290,11 +290,11 @@ page.on("console", async e => {
|
|||
});
|
||||
|
||||
page.on("error", e => {
|
||||
if (e.message.includes("the network is offline")) return;
|
||||
console.error("[Error]", e.message);
|
||||
});
|
||||
page.on("pageerror", e => {
|
||||
if (e.message.includes("Sentry successfully disabled")) return;
|
||||
if (e.message.includes("the network is offline")) return;
|
||||
|
||||
if (!e.message.startsWith("Object") && !e.message.includes("Cannot find module")) {
|
||||
console.error("[Page Error]", e.message);
|
||||
|
|
Loading…
Reference in a new issue