From 676940df234fee714ea7ee2f20d0f27beb91f786 Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Fri, 30 Aug 2024 14:11:05 +0200 Subject: [PATCH] fix(sourcebundle): Skip all invalid sources #861 missed another spot where the ReadFailed error can cause the write function to fail; this commit fixes that. Fixes #860 --- symbolic-debuginfo/src/sourcebundle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symbolic-debuginfo/src/sourcebundle.rs b/symbolic-debuginfo/src/sourcebundle.rs index 25a65f4c..07a30bc5 100644 --- a/symbolic-debuginfo/src/sourcebundle.rs +++ b/symbolic-debuginfo/src/sourcebundle.rs @@ -1365,7 +1365,7 @@ where collect_il2cpp_sources(&source, &mut referenced_files); } - self.add_file(bundle_path, source.as_slice(), info)?; + self.add_file_skip_read_failed(bundle_path, source.as_slice(), info)?; } files_handled.insert(filename);