@clawos-dev/clawd 0.2.62-beta.99.bab9356 → 0.2.62
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/cli.cjs +3 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -21880,7 +21880,9 @@ var SessionRunner = class {
|
|
|
21880
21880
|
this.input({ kind: "proc-exit", code });
|
|
21881
21881
|
});
|
|
21882
21882
|
proc.on("error", (err) => {
|
|
21883
|
-
|
|
21883
|
+
const message = err.message;
|
|
21884
|
+
this.hooks.logger?.error("claude spawn failed", { message });
|
|
21885
|
+
this.input({ kind: "proc-error", message });
|
|
21884
21886
|
});
|
|
21885
21887
|
}
|
|
21886
21888
|
// kill 当前 proc:单发 signal,没有"先 TERM 后 KILL"的兜底。
|
package/package.json
CHANGED