Merge branch 'dev' into modules-proxy-patches
This commit is contained in:
commit
7509f203cc
|
@ -204,8 +204,13 @@ page.on("console", async e => {
|
||||||
report.badWebpackFinds.push(await rawArgs[1].jsonValue() as string);
|
report.badWebpackFinds.push(await rawArgs[1].jsonValue() as string);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isVencord) {
|
if (isVencord && level !== "error") {
|
||||||
const args = await Promise.all(e.args().map(a => a.jsonValue()));
|
let args: unknown[] = [];
|
||||||
|
try {
|
||||||
|
args = await Promise.all(e.args().map(a => a.jsonValue()));
|
||||||
|
} catch {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const [, tag, message] = args as Array<string>;
|
const [, tag, message] = args as Array<string>;
|
||||||
const cause = await maybeGetError(e.args()[3]);
|
const cause = await maybeGetError(e.args()[3]);
|
||||||
|
|
Loading…
Reference in a new issue