mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +00:00
Trace javascript action exit code instead of user logs (#290)
* Trace javascript action exit code instead of user logs * Debug instead of trace
This commit is contained in:
@@ -122,9 +122,9 @@ namespace GitHub.Runner.Worker.Handlers
|
||||
else
|
||||
{
|
||||
var exitCode = await step;
|
||||
ExecutionContext.Debug($"Node Action run completed with exit code {exitCode}");
|
||||
if (exitCode != 0)
|
||||
{
|
||||
ExecutionContext.Error($"Node run failed with exit code {exitCode}");
|
||||
ExecutionContext.Result = TaskResult.Failed;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user