Skip to content

Commit 74378f4

Browse files
committed
ignore download errors from chromium repo
1 parent 0f639a5 commit 74378f4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

SuperPatch.Core/FileContentBuilder.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@ public class FileContentBuilder
2424
internal static async Task<FileContents> LoadAsync(Workspace wrk, FileDiff file, Status.StatusDelegate status)
2525
{
2626
status?.InvokeAsync($"Loading {file.From}");
27-
var fileContent = await wrk.Storage.GetFileAsync(file);
27+
byte[] fileContent = null;
28+
try
29+
{
30+
fileContent = await wrk.Storage.GetFileAsync(file);
31+
}
32+
catch(System.Exception ex)
33+
{
34+
status?.InvokeAsync($"Error {ex.Message}");
35+
}
2836
status?.InvokeAsync($"Loaded {file.From}");
2937

3038
var contents = new FileContents()

0 commit comments

Comments
 (0)