-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
Description
I've occasionally wanted this (for example, it would enable better error reporting for ICEs) but haven't gotten around to implementing it. It should be quite easy now though. In core::rt::fail
stash the value in TLS, then in the task cleanup code, pull it out of TLS and put it into the notification message. Modify task::try
to return the string.
Ideally this will someday be an ~any
type instead of ~str
.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.