[PR #2568] Fix missing nothrows #10358

Closed
opened 2026-02-16 18:14:59 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2568

State: closed
Merged: Yes


I have a problem where I get random ShellError: exit code 1 after some commands. I added more .nothrow to try fix the issue.

One example of commands that would fail is cd termcast && rg "navigationComponents" -A 5 -B 5. After these updates it looks like it no longer fails. But it's very slow. Maybe because of the cd folder check

Based on #2567 because otherwise I can't run opencode locally

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2568 **State:** closed **Merged:** Yes --- I have a problem where I get random `ShellError: exit code 1` after some commands. I added more .nothrow to try fix the issue. One example of commands that would fail is `cd termcast && rg "navigationComponents" -A 5 -B 5`. After these updates it looks like it no longer fails. But it's very slow. Maybe because of the `cd` folder check Based on #2567 because otherwise I can't run opencode locally
yindo added the pull-request label 2026-02-16 18:14:59 -05:00
yindo closed this issue 2026-02-16 18:14:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10358