opencode
opencode copied to clipboard
fix: handle unhandled promise rejection when aborting session
Summary
- Add
.catch(() => {})to thesession.abort()call to handle unhandled promise rejection
Before and After
https://github.com/user-attachments/assets/30abdf9e-09fc-416a-8051-b366d28de73f
Fixes #7851