This repository was archived by the owner on Apr 11, 2026. It is now read-only.
Commit be00eb7
fix: handle broken pipe gracefully (exit 0 instead of panic)
Catches "Broken pipe" / "os error 32" panics from piped commands
like `flowctl ... | head -1` and exits cleanly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2bfcd45 commit be00eb7
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
411 | 422 | | |
412 | 423 | | |
413 | 424 | | |
| |||
0 commit comments