Log OpenDream build exit code

This commit is contained in:
Jordan Dominion
2023-10-16 11:16:15 -04:00
parent 98e1c1905c
commit e9d3892325
@@ -229,7 +229,11 @@ namespace Tgstation.Server.Host.Components.Engine
true,
true);
buildExitCode = await buildProcess.Lifetime;
Logger.LogDebug("Build output:{newLine}{output}", Environment.NewLine, await buildProcess.GetCombinedOutput(cancellationToken));
Logger.LogDebug(
"OpenDream build exited with code {exitCode}:{newLine}{output}",
buildExitCode,
Environment.NewLine,
await buildProcess.GetCombinedOutput(cancellationToken));
},
sourcePath,
cancellationToken);