[PR #7852] fix: handle unhandled promise rejection when aborting session #12531

Open
opened 2026-02-16 18:17:26 -05:00 by yindo · 0 comments
Owner

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

State: open
Merged: No


Summary

  • Add .catch(() => {}) to the session.abort() call to handle unhandled promise rejection

Before and After

https://github.com/user-attachments/assets/30abdf9e-09fc-416a-8051-b366d28de73f

Fixes #7851

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7852 **State:** open **Merged:** No --- ## Summary - Add `.catch(() => {})` to the `session.abort()` call to handle unhandled promise rejection Before and After https://github.com/user-attachments/assets/30abdf9e-09fc-416a-8051-b366d28de73f Fixes #7851
yindo added the pull-request label 2026-02-16 18:17:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12531