mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Catch and log errors when extracting BSAs
This commit is contained in:
parent
f0820514e7
commit
466d9008a0
@ -155,8 +155,15 @@ namespace Wabbajack.VirtualFileSystem
|
||||
if (!shouldExtract(entry.Path))
|
||||
continue;
|
||||
|
||||
var result = await mapfn(entry.Path, new ExtractedMemoryFile(await entry.GetStreamFactory()));
|
||||
results.Add(entry.Path, result);
|
||||
try
|
||||
{
|
||||
var result = await mapfn(entry.Path, new ExtractedMemoryFile(await entry.GetStreamFactory()));
|
||||
results.Add(entry.Path, result);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Utils.Error($"Failed to extract '{entry.Path}' from '{sFn.Name}'");
|
||||
}
|
||||
}
|
||||
|
||||
return results;
|
||||
|
Loading…
Reference in New Issue
Block a user