You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function runTaskInForkedProcess catches the error and returns { code: 1 } without printing further information, making it hard to debug certain issues.
To reproduce this behavior function forkProcessLegacy or forkProcess must throw. Reproduction provided by @JacobLeyhere can be used to reproduce this behavior.
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->
<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->
<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->
## Current Behavior
<!-- This is the behavior we have today -->
## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
Fixes#26594
(cherry picked from commit cc428c7)
Current Behavior
The function
runTaskInForkedProcess
catches the error and returns{ code: 1 }
without printing further information, making it hard to debug certain issues.nx/packages/nx/src/tasks-runner/task-orchestrator.ts
Lines 512 to 516 in 95a6e68
Expected Behavior
Additional information about errors should be printed.
GitHub Repo
https://github.com/JacobLey/issue-recreator/tree/nx-parallel-devcontainer
Steps to Reproduce
To reproduce this behavior function
forkProcessLegacy
orforkProcess
must throw. Reproduction provided by @JacobLey here can be used to reproduce this behavior.Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: