From 8fbcdf5604aac543b5a8c27e9a01ac04c6b53b4e Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 31 Jul 2026 14:38:05 -0300 Subject: [PATCH] LazyChunkLoader: Fix incorrectly logging unavoidable errors --- src/debug/loadLazyChunks.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/debug/loadLazyChunks.ts b/src/debug/loadLazyChunks.ts index 72ded48bb..c3d328044 100644 --- a/src/debug/loadLazyChunks.ts +++ b/src/debug/loadLazyChunks.ts @@ -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); } }