Commit 460b48a
fix(nodejs): handle stdio stdin errors (#1584)
* fix(nodejs): handle stdio stdin errors
* fix(nodejs): preserve stdin error reason during stdio teardown
Keep the stdin "error" handler's no-throw teardown, but stash the
failure reason on a private field and surface it via the existing
logLevel-gated debug logger instead of discarding it.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(nodejs): drop unused lastError field; keep gated debug log
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 59168f0 commit 460b48a
2 files changed
Lines changed: 36 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
493 | 500 | | |
494 | 501 | | |
495 | 502 | | |
| |||
2304 | 2311 | | |
2305 | 2312 | | |
2306 | 2313 | | |
2307 | | - | |
| 2314 | + | |
| 2315 | + | |
2308 | 2316 | | |
2309 | | - | |
2310 | | - | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
2311 | 2327 | | |
2312 | 2328 | | |
2313 | 2329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
17 | 34 | | |
18 | 35 | | |
19 | 36 | | |
| |||
0 commit comments