mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Updates to logging on bad patch creation
This commit is contained in:
parent
d0febcd8a9
commit
21e308687f
@ -557,7 +557,17 @@ namespace Wabbajack.Lib
|
|||||||
|
|
||||||
var firstFailedPatch = InstallDirectives.OfType<PatchedFromArchive>().FirstOrDefault(f => f.PatchID == default);
|
var firstFailedPatch = InstallDirectives.OfType<PatchedFromArchive>().FirstOrDefault(f => f.PatchID == default);
|
||||||
if (firstFailedPatch != null)
|
if (firstFailedPatch != null)
|
||||||
Error($"Missing patches after generation, this should not happen. First failure: {firstFailedPatch.FullPath}");
|
{
|
||||||
|
Utils.Log($"Missing data from failed patch, starting data dump");
|
||||||
|
Utils.Log($"Dest File: {firstFailedPatch.To}");
|
||||||
|
Utils.Log($"Options ({firstFailedPatch.Choices.Length}:");
|
||||||
|
foreach (var choice in firstFailedPatch.Choices)
|
||||||
|
{
|
||||||
|
Utils.Log($" {choice.FullPath}");
|
||||||
|
}
|
||||||
|
Error(
|
||||||
|
$"Missing patches after generation, this should not happen. First failure: {firstFailedPatch.FullPath}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private VirtualFile FindDestFile(RelativePath to)
|
private VirtualFile FindDestFile(RelativePath to)
|
||||||
|
Loading…
Reference in New Issue
Block a user