Progress towards passing FileTable or FileID or FileName

This commit is contained in:
Ethan Chiu
2020-06-22 18:29:48 -04:00
parent 43a3006e7b
commit 58d11ef80a
7 changed files with 54 additions and 16 deletions

View File

@@ -291,7 +291,9 @@ namespace GitHub.Runner.Worker.Handlers
// Error
if (exitCode != 0)
{
ExecutionContext.Error($"Process completed with exit code {exitCode}.");
// TODO: Maybe add FileID here to pass to ScriptHandler for more helpful error message?
// ExecutionContext.Error($"Process completed with exit code {exitCode} erroring in {GetFileName(Data.FileID)}");
ExecutionContext.Error($"Process completed with exit code {exitCode}");
ExecutionContext.Result = TaskResult.Failed;
}
}