[utils] Fail immediately on extraction errors (#9926)

utils: fail immediately on extraction errors

Setting ContinueOnError to false ensures that ExtractArchive does not
leave the model or backend directory in an inconsistent state if a
partial failure occurs. This improves robustness against malformed
archives or unexpected I/O issues during installation.

Signed-off-by: RinZ27 <222222878+RinZ27@users.noreply.github.com>
This commit is contained in:
Rin authored and GitHub committed 2026-05-21 19:00:33 +02:00
1 parent f15b9178ec
commit a7f6cc8956
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ func ExtractArchive(archive, dst string) error {
OverwriteExisting: true,
MkdirAll: true,
ImplicitTopLevelFolder: false,
ContinueOnError: true,
ContinueOnError: false,
}
switch v := uaIface.(type) {