opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: handle unhandled promise rejection when aborting session

Open Jithin-Garapati opened this issue 3 days ago • 1 comments

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

Jithin-Garapati avatar Jan 11 '26 19:01 Jithin-Garapati