mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Give some debug information when we have a number format exception with Nexus archives.
This commit is contained in:
@ -79,6 +79,8 @@ namespace Wabbajack.Lib.Downloaders
|
|||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
return new State
|
return new State
|
||||||
{
|
{
|
||||||
Name = NexusApiUtils.FixupSummary(info.name),
|
Name = NexusApiUtils.FixupSummary(info.name),
|
||||||
@ -92,6 +94,13 @@ namespace Wabbajack.Lib.Downloaders
|
|||||||
FileID = long.Parse(general.fileID)
|
FileID = long.Parse(general.fileID)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
catch (FormatException)
|
||||||
|
{
|
||||||
|
Utils.Log(
|
||||||
|
$"Cannot parse ModID/FileID from {(string)general.gameName} {(string)general.modID} {(string)general.fileID}");
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user