mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Print the archive being extracted when analysis fails.
This commit is contained in:
parent
d55846c872
commit
c96665cde3
@ -183,13 +183,22 @@ namespace Wabbajack.VirtualFileSystem
|
||||
|
||||
if (!await extractedFile.CanExtract()) return self;
|
||||
|
||||
await using var extracted = await extractedFile.ExtractAll(context.Queue);
|
||||
try
|
||||
{
|
||||
|
||||
var list = await extracted
|
||||
.PMap(context.Queue,
|
||||
file => Analyze(context, self, file.Value, file.Key, depth + 1));
|
||||
await using var extracted = await extractedFile.ExtractAll(context.Queue);
|
||||
|
||||
self.Children = list.ToImmutableList();
|
||||
var list = await extracted
|
||||
.PMap(context.Queue,
|
||||
file => Analyze(context, self, file.Value, file.Key, depth + 1));
|
||||
|
||||
self.Children = list.ToImmutableList();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Utils.Log($"Error while examining the contents of {relPath.FileName}");
|
||||
throw;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user