mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Remove personally-identifiable file paths from client logs (#4267)
This commit is contained in:
@@ -130,7 +130,7 @@ namespace Robust.Shared.Configuration
|
||||
using var file = File.OpenRead(configFile);
|
||||
var result = LoadFromTomlStream(file);
|
||||
_configFile = configFile;
|
||||
_sawmill.Info($"Configuration Loaded from '{Path.GetFullPath(configFile)}'");
|
||||
_sawmill.Info($"Configuration loaded from file");
|
||||
return result;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
@@ -71,12 +71,9 @@ namespace Robust.Shared.ContentPack
|
||||
}
|
||||
else
|
||||
{
|
||||
_sawmill.Debug("Robust directory is {0}", ourPath);
|
||||
loadDirs.Add(Path.GetDirectoryName(ourPath)!);
|
||||
}
|
||||
|
||||
_sawmill.Debug(".NET runtime directory is {0}", dotnetDir);
|
||||
|
||||
if (EngineModuleDirectories != null)
|
||||
{
|
||||
foreach (var moduleDir in EngineModuleDirectories)
|
||||
|
||||
Reference in New Issue
Block a user