Update generateReport.ts

This commit is contained in:
thororen1234 2025-01-27 00:29:30 -05:00
parent 45e9bae8f1
commit 2572cca525

View file

@ -296,6 +296,7 @@ page.on("error", e => {
page.on("pageerror", e => {
if (e.message.includes("Sentry successfully disabled")) return;
if (e.message.includes("the network is offline")) return;
if (e.message.includes("Cannot read properties of undefined(reading 'includes')")) return;
if (!e.message.startsWith("Object") && !e.message.includes("Cannot find module")) {
console.error("[Page Error]", e.message);