This commit is contained in:
thororen1234 2024-07-12 16:05:09 -04:00
parent eff33e06bd
commit 69e3005e7a

View file

@ -73,9 +73,7 @@ const IGNORED_DISCORD_ERRORS = [
"Downloading the full bad domains file",
/\[GatewaySocket\].{0,110}Cannot access '/,
"search for 'name' in undefined",
"Attempting to set fast connect zstd when unsupported",
"waitForStore(\"PermissionStore\")",
"[Vencord] PluginManager: Encryptcord: Error while handling MESSAGE_CREATE"
"Attempting to set fast connect zstd when unsupported"
] as Array<string | RegExp>;
function toCodeBlock(s: string, indentation = 0, isDiscord = false) {
@ -103,7 +101,10 @@ async function printReport() {
console.log();
console.log("## Bad Webpack Finds");
report.badWebpackFinds.forEach(p => console.log("- " + toCodeBlock(p, "- ".length)));
report.badWebpackFinds.forEach(p => {
if (p === "waitForStore(\"PermissionStore\")") return;
console.log("- " + toCodeBlock(p, "- ".length));
});
console.log();
@ -240,6 +241,7 @@ page.on("console", async e => {
process.exitCode = 1;
const [, name] = failedToStartMatch;
if (name === "Encryptcord") return;
report.badStarts.push({
plugin: name,
error: await maybeGetError(e.args()[3]) ?? "Unknown error"