Skip to content

book/super-example: recover from panics in main.run - #7257

Merged
nwt merged 1 commit into
mainfrom
playground-panic
Aug 28, 2026
Merged

book/super-example: recover from panics in main.run#7257
nwt merged 1 commit into
mainfrom
playground-panic

Conversation

@nwt

@nwt nwt commented Aug 28, 2026

Copy link
Copy Markdown
Member

An unrecovered panic breaks the current page's Super instance and all examples on the page along with it.

Fixes #7121.

An unrecovered panic breaks the current page's Super instance and all
examples on the page along with it.
@nwt
nwt requested a review from a team August 28, 2026 15:51

@philrz philrz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I just tested out this branch with the same repro example from #7121 and it works great! 👍

@nwt
nwt merged commit 1924b97 into main Aug 28, 2026
4 checks passed
@nwt
nwt deleted the playground-panic branch August 28, 2026 19: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.

Gracefully handling panics in Playground

3 participants