mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-22 12:37:24 +01:00
Fix some logging placeholders
This commit is contained in:
@@ -107,7 +107,7 @@ namespace Tgstation.Server.Host.System
|
||||
{
|
||||
if (registeredProcesses.Contains(process))
|
||||
throw new InvalidOperationException("This process has already been registered for network prompt reaping!");
|
||||
logger.LogTrace("Registering process {0}...", process.Id);
|
||||
logger.LogTrace("Registering process {pid}...", process.Id);
|
||||
registeredProcesses.Add(process);
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ namespace Tgstation.Server.Host.System
|
||||
continue; // not our bitch
|
||||
}
|
||||
|
||||
logger.LogTrace("Identified \"Network Accessibility\" window in owned process {0}", processId);
|
||||
logger.LogTrace("Identified \"Network Accessibility\" window in owned process {pid}", processId);
|
||||
|
||||
var found = false;
|
||||
foreach (var childHandle in GetAllChildHandles(window))
|
||||
@@ -179,7 +179,7 @@ namespace Tgstation.Server.Host.System
|
||||
}
|
||||
|
||||
if (!found)
|
||||
logger.LogDebug("Unable to find \"Yes\" button for \"Network Accessibility\" window in owned process {0}!", processId);
|
||||
logger.LogDebug("Unable to find \"Yes\" button for \"Network Accessibility\" window in owned process {pid}!", processId);
|
||||
}
|
||||
}
|
||||
catch (OperationCanceledException ex)
|
||||
|
||||
Reference in New Issue
Block a user