diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index 6d00bf45..23866b3b 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -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);