Skip to content

ThunkFailedException: Scrub out Thunk #434

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

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Conversation

jpsamaroo
Copy link
Member

We previously were capturing Thunks in ThunkFailedException, which is a totally wrong thing to do (since Thunks aren't safe to serialize, but errors should be serializable everywhere). Now we convert Thunk to ThunkSummary objects which summarize the relevant details contained in the original Thunk, for printing and analysis purposes.

Fixes #430

@jpsamaroo jpsamaroo merged commit 99b902c into master Sep 26, 2023
@jpsamaroo jpsamaroo deleted the jps/thunkfailed-no-thunk branch September 26, 2023 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot serialize a Thunk when processing an error with Distributed
1 participant