diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index ae9b1faf3..0521cc053 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -291,7 +291,7 @@ 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")) { + if (!e.message.startsWith("Object") && !e.message.includes("Cannot find module") && !/^.{1,2}$/.test(e.message)) { console.error("[Page Error]", e.message); report.otherErrors.push(e.message); } else {