Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: recover from panics within cmds #1134

Merged
merged 2 commits into from
Sep 11, 2024
Merged

fix: recover from panics within cmds #1134

merged 2 commits into from
Sep 11, 2024

Conversation

aymanbagabas
Copy link
Member

We should recover from panics within a cmd. Currently, Bubble Tea only recovers from panics within the eventLoop. This makes it so that it also recovers from panics within cmd go routines.

Supersedes: #846
Fixes: #234

We should recover from panics within a cmd. Currently, Bubble Tea only
recovers from panics within the eventLoop. This makes it so that it also
recovers from panics within cmd go routines.

Supersedes: #846
Fixes: #234
@aymanbagabas aymanbagabas marked this pull request as draft September 10, 2024 20:52
@aymanbagabas aymanbagabas marked this pull request as ready for review September 11, 2024 16:17
@aymanbagabas aymanbagabas merged commit 6e71f52 into main Sep 11, 2024
30 checks passed
@aymanbagabas aymanbagabas deleted the recover-cmd-panic branch September 11, 2024 17:03
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.

Recover panics from within cmds goroutines
3 participants