LazyChunkLoader: Fix incorrectly logging unavoidable errors
This commit is contained in:
parent
c84389de5a
commit
8fbcdf5604
1 changed files with 4 additions and 0 deletions
|
|
@ -132,6 +132,10 @@ export async function loadLazyChunks() {
|
|||
|
||||
if (wreq.m[entryPoint]) wreq(entryPoint);
|
||||
} catch (err) {
|
||||
if (err instanceof TypeError && err.message.includes("reading 'nativeModules'")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
console.error(err);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue