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

Catch fatal exceptions in futures #4223

Merged
merged 8 commits into from
Jan 3, 2025
Merged

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Jan 2, 2025

Fixes #4221

Otherwise they just silently terminate the future and leave downstream Awaits hanging, resulting in the process hanging waiting for a future that will never complete. def reportFailure doesn't seem to log stuff properly when this happens for some reason

Covered with additional integration tests

@lihaoyi lihaoyi marked this pull request as ready for review January 2, 2025 04:56
@lihaoyi lihaoyi merged commit d2df820 into com-lihaoyi:main Jan 3, 2025
26 checks passed
@lihaoyi lihaoyi added this to the 0.12.6 milestone Jan 3, 2025
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.

Troubleshooting hanging build
3 participants