Skip to content

feat: propagate panics with resume_unwind - #3

Merged
hawkw merged 2 commits into
eliza/fix-ilianas-problemfrom
eliza/into-panic
Dec 1, 2026
Merged

hawkw merged 2 commits into
eliza/fix-ilianas-problemfrom
eliza/into-panic

Conversation

@hawkw

@hawkw hawkw commented Nov 27, 2026

Copy link
Copy Markdown
Member

This way, when we propagate a spawned task's panic, we get the original panic message, instead of the generic "Failed to join task" from expect.

@hawkw
hawkw added this pull request to stack #4 November 27, 2026 21:56
@hawkw
hawkw requested review from iliana and smklein November 27, 2026 23:33
@hawkw
hawkw enabled stacked auto-merge (squash) November 27, 2026 23:46
Comment thread src/lib.rs Outdated
Comment on lines 164 to 165

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and a few other APIs (join_next, try_join_next, join_remaining) still reference JoinError

Should we update these docs, to say that the task's panic is propagated instead?

stacked auto-merge was automatically disabled November 30, 2026 23:21

Auto-merge was disabled for another pull request in the stack

This way, when we propagate a spawned task's panic, we get the original
panic message, instead of the generic "Failed to join task" from
`expect`.
@hawkw
hawkw enabled stacked auto-merge (squash) November 30, 2026 23:50
@hawkw
hawkw merged commit ea54fe7 into main Dec 1, 2026
5 checks passed
@hawkw
hawkw deleted the eliza/into-panic branch December 1, 2026 01:18
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.

2 participants