From 0ecada463722648bc08c20be15e9d258d6e88280 Mon Sep 17 00:00:00 2001 From: Pooki <170284226+Pooki-LTSC@users.noreply.github.com> Date: Sun, 18 Oct 2026 12:25:00 -0500 Subject: [PATCH] Update SysZipFileSystem.hx --- polymod/fs/SysZipFileSystem.hx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/polymod/fs/SysZipFileSystem.hx b/polymod/fs/SysZipFileSystem.hx index 69a4a29a..d52a3cef 100644 --- a/polymod/fs/SysZipFileSystem.hx +++ b/polymod/fs/SysZipFileSystem.hx @@ -386,7 +386,14 @@ class SysZipFileSystem extends SysFileSystem if (StringTools.endsWith(filePath, archiveExt)) { Polymod.debug('- $filePath'); - addZipFile(filePath); + try + { + addZipFile(filePath); + } + catch (e) + { + Polymod.warning(MOD_ARCHIVE_READ_FAILED, 'Failed to read archive, skipping it, is it corrupt?\n$filePath\n${e}'); + } } } }