mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
actually add invalid game paths and file swap paths to show in the error message
This commit is contained in:
parent
d7e664477f
commit
99cf46875b
2 changed files with 4 additions and 1 deletions
2
MareAPI
2
MareAPI
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9fea4c30da56d842a10a209a9945fd7f3cb98f4b
|
Subproject commit 2015496ec0bbda566a0ac7e88ce56d7714fd8c49
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue