Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
verticalsync committed May 29, 2024
2 parents f793cf8 + 4a87223 commit 77de8ab
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/generateReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,13 @@ page.on("console", async e => {
report.badWebpackFinds.push(await rawArgs[1].jsonValue() as string);
}

if (isVencord) {
const args = await Promise.all(e.args().map(a => a.jsonValue()));
if (isVencord && level !== "error") {
let args: unknown[] = [];
try {
args = await Promise.all(e.args().map(a => a.jsonValue()));
} catch {
return;
}

const [, tag, message] = args as Array<string>;
const cause = await maybeGetError(e.args()[3]);
Expand Down

0 comments on commit 77de8ab

Please sign in to comment.