@nextclaw/kernel 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -13679,6 +13679,10 @@ var PortableServiceRunnerClientService = class {
|
|
|
13679
13679
|
this.stderrTail = [...this.stderrTail, message].slice(-20);
|
|
13680
13680
|
process.stderr.write(`${message}\n`);
|
|
13681
13681
|
});
|
|
13682
|
+
child.stdin.on("error", (error) => {
|
|
13683
|
+
if (this.child !== child) return;
|
|
13684
|
+
this.handleChildFailure(new PortableServiceRunnerError("PORTABLE_RUNNER_IO_FAILED", `Portable runner input failed: ${error.message}. ${this.stderrTail.join(" ")}`.trim()));
|
|
13685
|
+
});
|
|
13682
13686
|
child.once("error", (error) => {
|
|
13683
13687
|
if (this.child === child) this.handleChildFailure(error);
|
|
13684
13688
|
});
|