Commit f431854
fix: handle spawn error when Python binary is missing
Add an `error` event handler on the child process so the CLI doesn't
crash with an unhandled exception if the Python executable can't be
found (e.g., corrupted venv). Flagged by Sentry review.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8400a72 commit f431854
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
108 | 116 | | |
109 | 117 | | |
110 | 118 | | |
| |||
0 commit comments