mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 18:37: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
|
|
@ -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));
|
||||
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