Skip to content

Comments

fix: avoid panic when command output is piped#206

Open
burakdede wants to merge 1 commit intotower:developfrom
burakdede:fix/issue-162-broken-pipe
Open

fix: avoid panic when command output is piped#206
burakdede wants to merge 1 commit intotower:developfrom
burakdede:fix/issue-162-broken-pipe

Conversation

@burakdede
Copy link
Contributor

Fixes #162. It seems like unwrap() usage panicking when downstream command pipe is closed/broken. This catches BrokenPipe explicitly and gracefully exits with 0.

@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant