actually add invalid game paths and file swap paths to show in the error message
This commit is contained in:
2
MareAPI
2
MareAPI
Submodule MareAPI updated: 9fea4c30da...2015496ec0
@@ -133,6 +133,9 @@ public partial class MareHub
|
|||||||
{
|
{
|
||||||
_logger.LogCallWarning(MareHubLogger.Args("Invalid Data", "GamePaths", validGamePaths, string.Join(",", invalidPaths), "Hash", validHash, replacement.Hash, "FileSwap", validFileSwapPath, replacement.FileSwapPath));
|
_logger.LogCallWarning(MareHubLogger.Args("Invalid Data", "GamePaths", validGamePaths, string.Join(",", invalidPaths), "Hash", validHash, replacement.Hash, "FileSwap", validFileSwapPath, replacement.FileSwapPath));
|
||||||
hadInvalidData = true;
|
hadInvalidData = true;
|
||||||
|
if (!validFileSwapPath) invalidFileSwapPaths.Add(replacement.FileSwapPath);
|
||||||
|
if (!validGamePaths) invalidGamePaths.AddRange(replacement.GamePaths);
|
||||||
|
if (!validHash) invalidFileSwapPaths.Add(replacement.Hash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user