Repository navigation
Emit partial stderr output from child on maxBuffer exceeded - #181
Conversation
If the error from `child.exec` is just that the child process emitted too much on stderr, then that stderr output is likely to be useful. Emit as much as possible, with a warning that it's partial output.
|
Looks like a test failed on one of the environments. |
|
Thanks for rerunning the tests. |
|
👍 |
| err = `Error: ${err.message}. Partial output follows:\n\n${stderr}`; | ||
| } | ||
|
|
||
| callback(err || stderr); |
There was a problem hiding this comment.
There's probably a better way to format this callback with the err and stderr output. But this is fine for now
There was a problem hiding this comment.
We can merge and leave a TODO/issue to cleanup
There was a problem hiding this comment.
Hey, I don't want to let this slip through the cracks, but I'm actually not sure what the TODO is here. 😅
This picks up some patches that will help us out: - lerna/lerna#181 - lerna/lerna#196 - lerna/lerna#198 - lerna/lerna#199
* Upgrade lerna-2.0.0-beta.18 This picks up some patches that will help us out: - lerna/lerna#181 - lerna/lerna#196 - lerna/lerna#198 - lerna/lerna#199 * Use `lerna clean` for `npm run nuke`
* Upgrade lerna-2.0.0-beta.18 This picks up some patches that will help us out: - lerna/lerna#181 - lerna/lerna#196 - lerna/lerna#198 - lerna/lerna#199 * Use `lerna clean` for `npm run nuke`
|
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |

If the error from
child.execis just that the child process emitted too muchon stderr, then that stderr output is likely to be useful. Emit as much as
possible, with a warning that it's partial output.